Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009305/0.0009305, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008376/0.0008376, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.849/0.849, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.64e-05, allocations: 2.281 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.0423/0.04231, allocations: 58.85 MB / 383.4 MB, free: 4.867 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004751/0.04706, allocations: 4.962 MB / 388.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002563/0.04732, allocations: 11.94 kB / 388.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007612/0.04808, allocations: 341.8 kB / 388.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006585/0.04874, allocations: 0.5356 MB / 389.3 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01287/0.0616, allocations: 7.524 MB / 396.8 MB, free: 7.473 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001383/0.06299, allocations: 1.566 MB / 398.4 MB, free: 5.902 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.06321, allocations: 145.4 kB / 398.5 MB, free: 5.758 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.06421, allocations: 0.8494 MB / 399.4 MB, free: 4.906 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004866/0.0647, allocations: 0.5337 MB / 399.9 MB, free: 4.371 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.675e-05/0.06478, allocations: 87.98 kB / 400 MB, free: 4.285 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01302/0.0778, allocations: 9.576 MB / 409.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003965/0.0782, allocations: 351.1 kB / 409.9 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000439/0.07864, allocations: 335.4 kB / 410.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01229/0.09092, allocations: 7.156 MB / 417.4 MB, free: 2.852 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.09093, allocations: 4 kB / 417.4 MB, free: 2.848 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.09094, allocations: 3.938 kB / 417.4 MB, free: 2.844 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.09095, allocations: 0 / 417.4 MB, free: 2.844 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003402/0.09435, allocations: 1.522 MB / 418.9 MB, free: 1.285 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.0944, allocations: 8.031 kB / 418.9 MB, free: 1.277 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.0945, allocations: 110.5 kB / 419 MB, free: 1.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002908/0.09479, allocations: 91.5 kB / 419.1 MB, free: 1.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004991/0.09529, allocations: 383.6 kB / 419.5 MB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.09532, allocations: 45.31 kB / 419.5 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.118e-05/0.0954, allocations: 67.95 kB / 419.6 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.09692, allocations: 1.212 MB / 420.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.09694, allocations: 7.938 kB / 420.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/0.09699, allocations: 24 kB / 420.8 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.09701, allocations: 19.94 kB / 420.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.09818, allocations: 1.02 MB / 421.9 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007267/0.1054, allocations: 4.139 MB / 426 MB, free: 9.977 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.1065, allocations: 0.7037 MB / 426.7 MB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003827/0.1069, allocations: 391 kB / 427.1 MB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005109/0.112, allocations: 2.611 MB / 429.7 MB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.1121, allocations: 47.59 kB / 429.8 MB, free: 6.207 MB / 394.7 MB Notification: Performance of pre-optimization done (n=78): time 2.705e-06/0.1121, allocations: 7.938 kB / 429.8 MB, free: 6.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.005375/0.1174, allocations: 3.136 MB / 432.9 MB, free: 3.027 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.1175, allocations: 64.41 kB / 433 MB, free: 2.949 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.1178, allocations: 360.4 kB / 433.3 MB, free: 2.594 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.829e-05/0.1178, allocations: 41.7 kB / 433.4 MB, free: 2.547 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1179, allocations: 245.2 kB / 433.6 MB, free: 2.301 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.1181, allocations: 321.2 kB / 433.9 MB, free: 1.984 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.1182, allocations: 162.6 kB / 434.1 MB, free: 1.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.853e-05/0.1183, allocations: 358.8 kB / 434.4 MB, free: 1.461 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/0.1187, allocations: 373.8 kB / 434.8 MB, free: 1.094 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00078/0.1195, allocations: 496.2 kB / 435.3 MB, free: 0.5781 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.1206, allocations: 0.906 MB / 436.2 MB, free: 15.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1206, allocations: 0 / 436.2 MB, free: 15.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001542/0.1221, allocations: 1.113 MB / 437.3 MB, free: 14.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1221, allocations: 4 kB / 437.3 MB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.1222, allocations: 7.938 kB / 437.3 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004465/0.1226, allocations: 175.5 kB / 437.5 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.123, allocations: 183.8 kB / 437.7 MB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.1248, allocations: 3.918 MB / 441.6 MB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.125, allocations: 16 kB / 441.6 MB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.157e-05/0.1251, allocations: 47.92 kB / 441.6 MB, free: 9.871 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems 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,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002322/0.1253, allocations: 229.9 kB / 441.9 MB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.1255, allocations: 63.67 kB / 441.9 MB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.1272, allocations: 1.281 MB / 443.2 MB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.1272, allocations: 11.94 kB / 443.2 MB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.1272, allocations: 0 / 443.2 MB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001121/0.1284, allocations: 1.32 MB / 444.5 MB, free: 6.797 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/0.1303, allocations: 1.803 MB / 446.3 MB, free: 4.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1304, allocations: 0 / 446.3 MB, free: 4.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000375/0.1307, allocations: 163.8 kB / 446.5 MB, free: 4.773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008759/0.1316, allocations: 301.2 kB / 446.8 MB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/0.1316, allocations: 31.97 kB / 446.8 MB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005009/0.1321, allocations: 1.285 MB / 448.1 MB, free: 3.109 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1322, allocations: 3.938 kB / 448.1 MB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.134, allocations: 1.418 MB / 449.5 MB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.927e-05/0.1341, allocations: 51.72 kB / 449.6 MB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.786e-05/0.1341, allocations: 23.98 kB / 449.6 MB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.1344, allocations: 27.98 kB / 449.6 MB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.1345, allocations: 64.83 kB / 449.7 MB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.413e-05/0.1345, allocations: 39.97 kB / 449.7 MB, free: 1.461 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002041/0.1347, allocations: 283 kB / 450 MB, free: 1.188 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1347, allocations: 0 / 450 MB, free: 1.188 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.1347/0.2694, allocations: 1.421 MB / 451.4 MB, free: 119.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006309/0.2757, allocations: 3.762 MB / 455.2 MB, free: 119.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.2771, allocations: 1.115 MB / 456.3 MB, free: 118.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.2771, allocations: 3.781 kB / 456.3 MB, free: 118.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004644/0.2775, allocations: 472.1 kB / 456.8 MB, free: 118.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.2786, allocations: 390.1 kB / 457.2 MB, free: 118.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006693/0.2853, allocations: 6.986 MB / 464.1 MB, free: 114 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.2855, allocations: 311.8 kB / 464.4 MB, free: 113.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004668/0.2859, allocations: 210.7 kB / 464.7 MB, free: 113.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.2862, allocations: 225.6 kB / 464.9 MB, free: 113.4 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.2862, allocations: 0 / 464.9 MB, free: 113.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06053/0.3467, allocations: 59.45 MB / 0.512 GB, free: 54.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.859/9.206, allocations: 15.36 kB / 0.512 GB, free: 54.61 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 26.854447699151933]