Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_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.00107/0.00107, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.0011/0.0011, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.284/1.284, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 51.92 kB / 280.7 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07745/0.07866, allocations: 46.62 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03481/0.1135, allocations: 37.45 MB / 364.8 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005474/0.119, allocations: 4.576 MB / 369.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007761/0.1198, allocations: 4 kB / 369.4 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.1211, allocations: 302.2 kB / 369.7 MB, free: 9.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.1223, allocations: 477.3 kB / 370.2 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004442/0.1267, allocations: 1.645 MB / 371.8 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.1282, allocations: 1.273 MB / 373.1 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003129/0.1285, allocations: 174.5 kB / 373.3 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008108/0.1294, allocations: 466.5 kB / 373.7 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006411/0.13, allocations: 406.4 kB / 374.1 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.1301, allocations: 48 kB / 374.1 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.1318, allocations: 0.7532 MB / 374.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.1321, allocations: 131.6 kB / 375 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004095/0.1325, allocations: 278.9 kB / 375.3 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.1342, allocations: 1.044 MB / 376.3 MB, free: 3.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1342, allocations: 7.875 kB / 376.4 MB, free: 3.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1342, allocations: 0 / 376.4 MB, free: 3.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.161e-05/0.1342, allocations: 4 kB / 376.4 MB, free: 3.211 MB / 318.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.001334/0.1356, allocations: 0.7642 MB / 377.1 MB, free: 2.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1356, allocations: 11.89 kB / 377.1 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.499e-05/0.1357, allocations: 78.72 kB / 377.2 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006096/0.1363, allocations: 84.34 kB / 377.3 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.1368, allocations: 339.3 kB / 377.6 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.1368, allocations: 29.38 kB / 377.7 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-05/0.1369, allocations: 44.38 kB / 377.7 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006654/0.1376, allocations: 475.4 kB / 378.2 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.1376, allocations: 4 kB / 378.2 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.027e-05/0.1376, allocations: 16 kB / 378.2 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.1377, allocations: 8 kB / 378.2 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004707/0.1381, allocations: 307.6 kB / 378.5 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1399/0.2781, allocations: 6.741 MB / 385.2 MB, free: 54.58 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.2785, allocations: 268.5 kB / 385.5 MB, free: 54.56 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.2787, allocations: 148.3 kB / 385.6 MB, free: 54.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009175/0.2879, allocations: 3.904 MB / 389.5 MB, free: 52.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.2879, allocations: 37.09 kB / 389.6 MB, free: 52.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.753e-06/0.2879, allocations: 0 / 389.6 MB, free: 52.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.0103/0.2982, allocations: 2.446 MB / 392 MB, free: 51.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.931e-05/0.2983, allocations: 57.06 kB / 392.1 MB, free: 51.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.2985, allocations: 300.4 kB / 392.4 MB, free: 51.01 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.2986, allocations: 35.17 kB / 392.4 MB, free: 50.97 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.2986, allocations: 233.4 kB / 392.6 MB, free: 50.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/0.2987, allocations: 159 kB / 392.8 MB, free: 50.63 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.2988, allocations: 97.55 kB / 392.9 MB, free: 50.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.102e-05/0.2989, allocations: 350.4 kB / 393.2 MB, free: 50.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.2991, allocations: 147 kB / 393.4 MB, free: 50.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.2994, allocations: 280.9 kB / 393.6 MB, free: 49.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004778/0.2998, allocations: 478.4 kB / 394.1 MB, free: 49.61 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2998, allocations: 3.969 kB / 394.1 MB, free: 49.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008168/0.3007, allocations: 0.5899 MB / 394.7 MB, free: 49.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3007, allocations: 6.531 kB / 394.7 MB, free: 49.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.3007, allocations: 6.812 kB / 394.7 MB, free: 49.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007154/0.3079, allocations: 1.847 MB / 396.6 MB, free: 48.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.3082, allocations: 114.6 kB / 396.7 MB, free: 48.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.3094, allocations: 2.571 MB / 399.3 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.3096, allocations: 11.97 kB / 399.3 MB, free: 45.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.3097, allocations: 23.84 kB / 399.3 MB, free: 45.84 MB / 318.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.0001317/0.3098, allocations: 169.6 kB / 399.5 MB, free: 45.69 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.3099, allocations: 39.31 kB / 399.5 MB, free: 45.67 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008288/0.3107, allocations: 0.861 MB / 400.4 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.3107, allocations: 7.938 kB / 400.4 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.3107, allocations: 0 / 400.4 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006546/0.3114, allocations: 0.9565 MB / 401.3 MB, free: 44.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.3127, allocations: 1.492 MB / 402.8 MB, free: 43.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3127, allocations: 0 / 402.8 MB, free: 43.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.313, allocations: 77.59 kB / 402.9 MB, free: 43.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002896/0.3159, allocations: 0.6294 MB / 403.5 MB, free: 42.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.3159, allocations: 12 kB / 403.5 MB, free: 42.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005543/0.3165, allocations: 1.284 MB / 404.8 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3165, allocations: 0 / 404.8 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.3175, allocations: 1.219 MB / 406 MB, free: 39.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.3176, allocations: 120.6 kB / 406.1 MB, free: 39.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/0.3177, allocations: 12 kB / 406.2 MB, free: 39.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.3179, allocations: 7.938 kB / 406.2 MB, free: 39.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.3179, allocations: 32.72 kB / 406.2 MB, free: 39.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.3179, allocations: 20 kB / 406.2 MB, free: 39.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.3181, allocations: 209.9 kB / 406.4 MB, free: 39.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3181, allocations: 4 kB / 406.4 MB, free: 39.49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005362/0.3186, allocations: 234.8 kB / 406.7 MB, free: 39.27 MB / 318.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.001482/0.3201, allocations: 1.939 MB / 408.6 MB, free: 37.33 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.3211, allocations: 0.7109 MB / 409.3 MB, free: 36.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3212, allocations: 0 / 409.3 MB, free: 36.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006971/0.3219, allocations: 437 kB / 409.7 MB, free: 36.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.3229, allocations: 242.2 kB / 410 MB, free: 35.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/0.3268, allocations: 4.521 MB / 414.5 MB, free: 31.24 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.327, allocations: 0.8479 MB / 415.3 MB, free: 30.37 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000239/0.3272, allocations: 70.17 kB / 415.4 MB, free: 30.31 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.3274, allocations: 159.4 kB / 415.6 MB, free: 30.15 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3274, allocations: 0 / 415.6 MB, free: 30.15 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.238/2.565, allocations: 17.16 MB / 432.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.62/19.19, allocations: 5.219 kB / 432.7 MB, free: 12.91 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches