Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",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.0009018/0.0009019, allocations: 94.89 kB / 17.3 MB, free: 6.336 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.0009316/0.0009315, allocations: 182.6 kB / 18.21 MB, free: 5.52 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.202/1.202, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004255/0.0004255, allocations: 12 kB / 281.5 MB, free: 3.328 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07967/0.0801, allocations: 47.58 MB / 329.1 MB, free: 3.672 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02356/0.1037, allocations: 26.62 MB / 355.7 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004174/0.1079, allocations: 4.148 MB / 359.8 MB, free: 4.789 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.1082, allocations: 4 kB / 359.8 MB, free: 4.785 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005409/0.1087, allocations: 175.1 kB / 360 MB, free: 4.613 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005804/0.1093, allocations: 334.3 kB / 360.3 MB, free: 4.285 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003215/0.1125, allocations: 1.234 MB / 361.6 MB, free: 3.047 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001223/0.1138, allocations: 1.336 MB / 362.9 MB, free: 1.707 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.1139, allocations: 80.69 kB / 363 MB, free: 1.629 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005914/0.1199, allocations: 4.207 MB / 367.2 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003238/0.1202, allocations: 282.8 kB / 367.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.1202, allocations: 16 kB / 367.5 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.1214, allocations: 0.7024 MB / 368.2 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.104e-05/0.1215, allocations: 71.73 kB / 368.2 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.1217, allocations: 205 kB / 368.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008696/0.1226, allocations: 0.8142 MB / 369.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1226, allocations: 4 kB / 369.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1226, allocations: 0 / 369.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1226, allocations: 4 kB / 369.3 MB, free: 11.32 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007442/0.1234, allocations: 0.5809 MB / 369.8 MB, free: 10.69 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1234, allocations: 12.03 kB / 369.9 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.28e-05/0.1235, allocations: 58.73 kB / 369.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000392/0.1239, allocations: 56.53 kB / 370 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.1242, allocations: 291.7 kB / 370.3 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.1242, allocations: 20.94 kB / 370.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.1243, allocations: 32.31 kB / 370.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.1247, allocations: 338.4 kB / 370.6 MB, free: 9.809 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.1248, allocations: 7.938 kB / 370.6 MB, free: 9.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.1248, allocations: 12 kB / 370.7 MB, free: 9.789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1248, allocations: 4 kB / 370.7 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.1251, allocations: 214 kB / 370.9 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/0.1366, allocations: 5.904 MB / 376.8 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.1369, allocations: 178.6 kB / 376.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.137, allocations: 88.83 kB / 377 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1336/0.2706, allocations: 3.867 MB / 380.9 MB, free: 56.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.2707, allocations: 34.69 kB / 380.9 MB, free: 56.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.753e-06/0.2707, allocations: 3.609 kB / 380.9 MB, free: 56.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006035/0.2767, allocations: 1.424 MB / 382.4 MB, free: 55.72 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.2768, allocations: 57.25 kB / 382.4 MB, free: 55.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.277, allocations: 256.9 kB / 382.7 MB, free: 55.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.2771, allocations: 30.89 kB / 382.7 MB, free: 55.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/0.2771, allocations: 187.4 kB / 382.9 MB, free: 55.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.2772, allocations: 95.3 kB / 383 MB, free: 55.33 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.2773, allocations: 35.88 kB / 383 MB, free: 55.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.381e-05/0.2773, allocations: 337.1 kB / 383.3 MB, free: 55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.2775, allocations: 91.03 kB / 383.4 MB, free: 55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.2777, allocations: 194.3 kB / 383.6 MB, free: 54.9 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.278, allocations: 301.7 kB / 383.9 MB, free: 54.79 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.278, allocations: 5.594 kB / 383.9 MB, free: 54.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005852/0.2786, allocations: 393.6 kB / 384.3 MB, free: 54.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2786, allocations: 12.66 kB / 384.3 MB, free: 54.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2786, allocations: 2.656 kB / 384.3 MB, free: 54.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00325/0.2819, allocations: 403.2 kB / 384.7 MB, free: 54.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.2821, allocations: 69.52 kB / 384.8 MB, free: 54.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.2831, allocations: 1.88 MB / 386.7 MB, free: 52.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.2834, allocations: 19.69 kB / 386.7 MB, free: 52.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.2834, allocations: 19.12 kB / 386.7 MB, free: 52.89 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.2835, allocations: 157.3 kB / 386.8 MB, free: 52.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.306e-05/0.2836, allocations: 30.34 kB / 386.9 MB, free: 52.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006926/0.2843, allocations: 496.8 kB / 387.4 MB, free: 52.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.2843, allocations: 10.66 kB / 387.4 MB, free: 52.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.2843, allocations: 1.469 kB / 387.4 MB, free: 52.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005007/0.2848, allocations: 0.7153 MB / 388.1 MB, free: 52.19 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.286, allocations: 0.9411 MB / 389 MB, free: 51.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.286, allocations: 0.75 kB / 389 MB, free: 51.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.2861, allocations: 61.48 kB / 389.1 MB, free: 51.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001697/0.2879, allocations: 326.2 kB / 389.4 MB, free: 51.53 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.2879, allocations: 9.672 kB / 389.4 MB, free: 51.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003413/0.2882, allocations: 0.6422 MB / 390.1 MB, free: 50.95 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2882, allocations: 0 / 390.1 MB, free: 50.95 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008086/0.2891, allocations: 0.7251 MB / 390.8 MB, free: 50.53 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.2891, allocations: 104 kB / 390.9 MB, free: 50.42 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.2892, allocations: 6.969 kB / 390.9 MB, free: 50.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.2894, allocations: 12.89 kB / 390.9 MB, free: 50.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.2894, allocations: 22.41 kB / 390.9 MB, free: 50.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.2895, allocations: 13.3 kB / 390.9 MB, free: 50.4 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001576/0.2896, allocations: 187.2 kB / 391.1 MB, free: 50.29 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2896, allocations: 4 kB / 391.1 MB, free: 50.28 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006295/0.2903, allocations: 186.9 kB / 391.3 MB, free: 50.27 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001389/0.2917, allocations: 1.423 MB / 392.7 MB, free: 49.3 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007166/0.2924, allocations: 452.3 kB / 393.2 MB, free: 49.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2924, allocations: 0.75 kB / 393.2 MB, free: 49.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004907/0.2929, allocations: 231.3 kB / 393.4 MB, free: 48.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.2939, allocations: 170.6 kB / 393.6 MB, free: 48.94 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/0.2977, allocations: 3.53 MB / 397.1 MB, free: 46.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.2978, allocations: 0.7763 MB / 397.9 MB, free: 45.8 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002139/0.2981, allocations: 51.55 kB / 397.9 MB, free: 45.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.2982, allocations: 104.5 kB / 398 MB, free: 45.71 MB / 318.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2982, allocations: 5.312 kB / 398 MB, free: 45.71 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.155/0.4531, allocations: 12.74 MB / 410.8 MB, free: 35.23 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/0.4534, allocations: 221.2 kB / 411 MB, free: 34.98 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/2.581, allocations: 0 / 411 MB, free: 34.98 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches