Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 47.64 kB / 300.7 MB, free: 5.754 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08114/0.0822, allocations: 49.44 MB / 350.2 MB, free: 4.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.17/0.2522, allocations: 37.43 MB / 387.6 MB, free: 6.602 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004219/0.2565, allocations: 4.576 MB / 392.2 MB, free: 3.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004219/0.2569, allocations: 5.875 kB / 392.2 MB, free: 3.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007419/0.2577, allocations: 293.7 kB / 392.5 MB, free: 3.328 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000958/0.2587, allocations: 483.2 kB / 392.9 MB, free: 3.035 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003708/0.2624, allocations: 1.649 MB / 394.6 MB, free: 2.184 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.2638, allocations: 1.274 MB / 395.8 MB, free: 1.594 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.264, allocations: 169.5 kB / 396 MB, free: 1.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007603/0.2648, allocations: 463.8 kB / 396.5 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005505/0.2654, allocations: 406.2 kB / 396.9 MB, free: 1.164 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.728e-05/0.2655, allocations: 49.28 kB / 396.9 MB, free: 1.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.2669, allocations: 0.7504 MB / 397.7 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.267, allocations: 137.9 kB / 397.8 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.2672, allocations: 280.5 kB / 398.1 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.2683, allocations: 1.04 MB / 399.1 MB, free: 180 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2683, allocations: 0 / 399.1 MB, free: 180 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2683, allocations: 0 / 399.1 MB, free: 180 kB / 302.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.2683, allocations: 1.094 kB / 399.1 MB, free: 180 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009473/0.2693, allocations: 0.7805 MB / 399.9 MB, free: 15.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2693, allocations: 13.77 kB / 399.9 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.679e-05/0.2694, allocations: 76.44 kB / 400 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005234/0.2699, allocations: 77.56 kB / 400.1 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.2703, allocations: 337.2 kB / 400.4 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.2703, allocations: 28.28 kB / 400.4 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.2704, allocations: 38.28 kB / 400.5 MB, free: 15.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005984/0.271, allocations: 474 kB / 400.9 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.271, allocations: 1.562 kB / 400.9 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.2711, allocations: 22.47 kB / 400.9 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.2711, allocations: 13.48 kB / 401 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004194/0.2715, allocations: 305.7 kB / 401.2 MB, free: 14.56 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/0.2844, allocations: 6.743 MB / 408 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.2848, allocations: 276.2 kB / 408.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.285, allocations: 149.5 kB / 408.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009632/0.2947, allocations: 3.887 MB / 412.3 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.2947, allocations: 38.56 kB / 412.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.784e-06/0.2947, allocations: 0 / 412.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01092/0.3056, allocations: 2.466 MB / 414.8 MB, free: 3.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.3057, allocations: 59.39 kB / 414.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.306, allocations: 303.2 kB / 415.2 MB, free: 3.059 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.306, allocations: 41.7 kB / 415.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.3061, allocations: 220 kB / 415.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.191e-05/0.3062, allocations: 157.7 kB / 415.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.3064, allocations: 98.14 kB / 415.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.3065, allocations: 350.8 kB / 416 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.3067, allocations: 153.1 kB / 416.1 MB, free: 2.031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.307, allocations: 275.7 kB / 416.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005578/0.3076, allocations: 472.3 kB / 416.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3076, allocations: 4 kB / 416.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000939/0.3085, allocations: 0.5916 MB / 417.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3086, allocations: 11.94 kB / 417.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.3086, allocations: 4 kB / 417.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007264/0.3158, allocations: 1.843 MB / 419.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.3162, allocations: 107.8 kB / 419.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.3179, allocations: 2.573 MB / 422 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.3182, allocations: 12 kB / 422 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.3182, allocations: 24 kB / 422 MB, free: 11.83 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001736/0.3184, allocations: 177.6 kB / 422.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.901e-05/0.3185, allocations: 35.56 kB / 422.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.3195, allocations: 0.8553 MB / 423.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3195, allocations: 4 kB / 423.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3195, allocations: 96 / 423.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008578/0.3204, allocations: 0.9651 MB / 424.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.3221, allocations: 1.492 MB / 425.6 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3221, allocations: 0 / 425.6 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/0.3224, allocations: 75.89 kB / 425.6 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003128/0.3256, allocations: 0.6218 MB / 426.3 MB, free: 7.434 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.3256, allocations: 19.88 kB / 426.3 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007912/0.3264, allocations: 1.28 MB / 427.6 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3264, allocations: 0 / 427.6 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.3277, allocations: 1.23 MB / 428.8 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.469e-05/0.3278, allocations: 120.5 kB / 428.9 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/0.3279, allocations: 16 kB / 428.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.3281, allocations: 7.938 kB / 428.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.3282, allocations: 31.95 kB / 429 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.3282, allocations: 19.98 kB / 429 MB, free: 4.617 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.3284, allocations: 210 kB / 429.2 MB, free: 4.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3284, allocations: 0 / 429.2 MB, free: 4.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006666/0.3291, allocations: 231.9 kB / 429.4 MB, free: 4.184 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001992/0.3311, allocations: 1.94 MB / 431.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.3323, allocations: 0.722 MB / 432.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3323, allocations: 0 / 432.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008249/0.3332, allocations: 436.1 kB / 432.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.3343, allocations: 236.9 kB / 432.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005135/0.3395, allocations: 4.509 MB / 437.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.3398, allocations: 0.8402 MB / 438.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002996/0.3401, allocations: 68.34 kB / 438.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.3403, allocations: 159.4 kB / 438.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3403, allocations: 3.938 kB / 438.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.272/2.613, allocations: 17.17 MB / 455.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/14.41, allocations: 20.39 kB / 455.5 MB, free: 9.988 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches