Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MoistAir.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.00171/0.00171, allocations: 108.2 kB / 21.18 MB, free: 0.6992 MB / 14.72 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.0023/0.0023, allocations: 216.7 kB / 24.49 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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.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.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 59.92 kB / 347.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.25, allocations: 49.16 MB / 396.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.182/0.432, allocations: 153.2 MB / 0.5367 GB, free: 9.562 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.433, allocations: 0.5963 MB / 0.5373 GB, free: 8.969 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.399e-05/0.4331, allocations: 4 kB / 0.5373 GB, free: 8.965 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.4335, allocations: 59.64 kB / 0.5373 GB, free: 8.906 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004177/0.4339, allocations: 167.1 kB / 0.5375 GB, free: 8.742 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003404/0.4373, allocations: 1.097 MB / 0.5386 GB, free: 7.645 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000485/0.4378, allocations: 322.9 kB / 0.5389 GB, free: 7.328 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.4378, allocations: 5.641 kB / 0.5389 GB, free: 7.324 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00034/0.4382, allocations: 159.4 kB / 0.539 GB, free: 7.168 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.4385, allocations: 131.6 kB / 0.5391 GB, free: 7.039 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.4385, allocations: 16 kB / 0.5392 GB, free: 7.023 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003169/0.4417, allocations: 1.669 MB / 0.5408 GB, free: 5.352 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.4418, allocations: 79.72 kB / 0.5409 GB, free: 5.273 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.442, allocations: 95.58 kB / 0.541 GB, free: 5.18 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.4441, allocations: 0.9944 MB / 0.5419 GB, free: 4.188 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4441, allocations: 0 / 0.5419 GB, free: 4.188 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4441, allocations: 4 kB / 0.5419 GB, free: 4.184 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.4441, allocations: 0 / 0.5419 GB, free: 4.184 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001879/0.446, allocations: 0.6097 MB / 0.5425 GB, free: 3.543 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.446, allocations: 19.98 kB / 0.5426 GB, free: 3.523 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.038e-05/0.4461, allocations: 46.73 kB / 0.5426 GB, free: 3.469 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.4462, allocations: 20.84 kB / 0.5426 GB, free: 3.449 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.4465, allocations: 169.6 kB / 0.5428 GB, free: 3.258 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.4466, allocations: 12.33 kB / 0.5428 GB, free: 3.246 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.4466, allocations: 19.94 kB / 0.5428 GB, free: 3.227 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00062/0.4472, allocations: 261.5 kB / 0.5431 GB, free: 2.961 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.4473, allocations: 0 / 0.5431 GB, free: 2.961 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.4473, allocations: 8 kB / 0.5431 GB, free: 2.953 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.4473, allocations: 8 kB / 0.5431 GB, free: 2.945 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006584/0.448, allocations: 259.8 kB / 0.5433 GB, free: 2.691 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.4495, allocations: 0.765 MB / 0.5441 GB, free: 1.855 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006429/0.4501, allocations: 213.1 kB / 0.5443 GB, free: 1.629 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.4505, allocations: 129.6 kB / 0.5444 GB, free: 1.496 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001944/0.4507, allocations: 47.95 kB / 0.5444 GB, free: 1.449 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.4507, allocations: 38.56 kB / 0.5445 GB, free: 1.402 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.543e-06/0.4507, allocations: 0 / 0.5445 GB, free: 1.402 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002471/0.4532, allocations: 0.681 MB / 0.5451 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.4532, allocations: 81.11 kB / 0.5452 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.4533, allocations: 121.8 kB / 0.5453 GB, free: 500 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.4534, allocations: 33.7 kB / 0.5454 GB, free: 460 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.4534, allocations: 104.9 kB / 0.5455 GB, free: 348 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.4536, allocations: 134.8 kB / 0.5456 GB, free: 212 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.4537, allocations: 69.59 kB / 0.5457 GB, free: 136 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4538, allocations: 326.8 kB / 0.546 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003947/0.4542, allocations: 136.3 kB / 0.5461 GB, free: 15.67 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/0.4547, allocations: 203.6 kB / 0.5463 GB, free: 15.45 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008153/0.4555, allocations: 367.5 kB / 0.5466 GB, free: 15.06 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4555, allocations: 3.938 kB / 0.5467 GB, free: 15.05 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009791/0.4565, allocations: 409.3 kB / 0.547 GB, free: 14.65 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4565, allocations: 8 kB / 0.547 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4565, allocations: 0 / 0.547 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.4565, allocations: 4 kB / 0.5471 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.457, allocations: 87.88 kB / 0.5471 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.457, allocations: 12.16 kB / 0.5471 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.4573, allocations: 27.91 kB / 0.5472 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.4573, allocations: 19.94 kB / 0.5472 GB, free: 14.49 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000157/0.4575, allocations: 137.8 kB / 0.5473 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.738e-05/0.4576, allocations: 19.91 kB / 0.5473 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003675/0.4579, allocations: 179.3 kB / 0.5475 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.4579, allocations: 4 kB / 0.5475 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.458, allocations: 0 / 0.5475 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.458, allocations: 0 / 0.5475 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.4597, allocations: 0.7394 MB / 0.5482 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4597, allocations: 0 / 0.5482 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.4601, allocations: 75.88 kB / 0.5483 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.4602, allocations: 4 kB / 0.5483 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.4602, allocations: 12 kB / 0.5483 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.4602, allocations: 8 kB / 0.5483 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.4602, allocations: 7.938 kB / 0.5483 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.4616, allocations: 0.7106 MB / 0.549 GB, free: 12.49 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.4617, allocations: 43.89 kB / 0.5491 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.4618, allocations: 8 kB / 0.5491 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.4621, allocations: 20.05 kB / 0.5491 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.4622, allocations: 35.83 kB / 0.5491 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.4622, allocations: 15.98 kB / 0.5492 GB, free: 12.37 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.441e-05/0.4623, allocations: 95.27 kB / 0.5492 GB, free: 12.27 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4623, allocations: 0 / 0.5492 GB, free: 12.27 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005845/0.4629, allocations: 143.7 kB / 0.5494 GB, free: 12.13 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002092/0.465, allocations: 1.384 MB / 0.5507 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008881/0.4659, allocations: 335.4 kB / 0.5511 GB, free: 10.38 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4659, allocations: 0 / 0.5511 GB, free: 10.38 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004029/0.4663, allocations: 164.5 kB / 0.5512 GB, free: 10.22 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006919/0.467, allocations: 103.7 kB / 0.5513 GB, free: 10.12 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004737/0.4717, allocations: 2.827 MB / 0.5541 GB, free: 7.121 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.4721, allocations: 0.7371 MB / 0.5548 GB, free: 6.355 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000329/0.4724, allocations: 82.03 kB / 0.5549 GB, free: 6.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.4726, allocations: 63.41 kB / 0.5549 GB, free: 6.207 MB / 478.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4726, allocations: 0 / 0.5549 GB, free: 6.207 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1915/0.6641, allocations: 8.641 MB / 0.5634 GB, free: 163.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.87, allocations: 4.156 kB / 0.5634 GB, free: 163.8 MB / 478.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.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: 14.24153459398076]