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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 119.8 kB / 18.45 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 190.9 kB / 21.39 MB, free: 1.52 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.348/1.348, allocations: 207.6 MB / 231.8 MB, free: 4.234 MB / 174.1 MB " [Timeout remaining time 179] 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.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.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.001685/0.001685, allocations: 51.92 kB / 342.2 MB, free: 10.05 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0857/0.08739, allocations: 49.13 MB / 391.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3465/0.4339, allocations: 153.2 MB / 0.5318 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008764/0.4347, allocations: 0.5898 MB / 0.5323 GB, free: 8.871 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.193e-05/0.4348, allocations: 0 / 0.5323 GB, free: 8.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.4351, allocations: 60.64 kB / 0.5324 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.4355, allocations: 160.8 kB / 0.5326 GB, free: 8.664 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002684/0.4381, allocations: 1.09 MB / 0.5336 GB, free: 7.578 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.4385, allocations: 326.8 kB / 0.5339 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.4386, allocations: 9.453 kB / 0.5339 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.4388, allocations: 151.5 kB / 0.5341 GB, free: 7.098 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.439, allocations: 144.2 kB / 0.5342 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.4391, allocations: 12 kB / 0.5342 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.4416, allocations: 1.649 MB / 0.5358 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.4417, allocations: 71.78 kB / 0.5359 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.4418, allocations: 91.64 kB / 0.536 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.4432, allocations: 0.9996 MB / 0.537 GB, free: 4.133 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4432, allocations: 3.938 kB / 0.537 GB, free: 4.129 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4432, allocations: 7.375 kB / 0.537 GB, free: 4.125 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.4432, allocations: 0 / 0.537 GB, free: 4.125 MB / 414.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.001682/0.4449, allocations: 0.685 MB / 0.5377 GB, free: 3.391 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.4449, allocations: 19.91 kB / 0.5377 GB, free: 3.371 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.971e-05/0.445, allocations: 46.73 kB / 0.5377 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.4451, allocations: 20.84 kB / 0.5377 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.4454, allocations: 219.7 kB / 0.5379 GB, free: 3.043 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.4454, allocations: 12.33 kB / 0.538 GB, free: 3.031 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.4455, allocations: 19.98 kB / 0.538 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005615/0.446, allocations: 261.4 kB / 0.5382 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.4461, allocations: 0 / 0.5382 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.4461, allocations: 8 kB / 0.5382 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.4461, allocations: 4 kB / 0.5382 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006348/0.4467, allocations: 271.7 kB / 0.5385 GB, free: 2.469 MB / 414.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.001455/0.4482, allocations: 0.7931 MB / 0.5393 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006145/0.4488, allocations: 209.2 kB / 0.5395 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.4491, allocations: 138.4 kB / 0.5396 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003577/0.4495, allocations: 356.4 kB / 0.5399 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.4495, allocations: 42.5 kB / 0.54 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.313e-06/0.4495, allocations: 0 / 0.54 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.00237/0.4519, allocations: 0.6743 MB / 0.5406 GB, free: 84 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/0.4519, allocations: 85.05 kB / 0.5407 GB, free: 15.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.452, allocations: 125.8 kB / 0.5408 GB, free: 15.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.4521, allocations: 29.7 kB / 0.5409 GB, free: 15.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.4522, allocations: 104.9 kB / 0.541 GB, free: 15.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.4523, allocations: 134.1 kB / 0.5411 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.4524, allocations: 69.64 kB / 0.5412 GB, free: 15.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.4525, allocations: 326.8 kB / 0.5415 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.4529, allocations: 139.8 kB / 0.5416 GB, free: 15.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.4533, allocations: 203.6 kB / 0.5418 GB, free: 14.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007864/0.4541, allocations: 359.4 kB / 0.5422 GB, free: 14.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4541, allocations: 0 / 0.5422 GB, free: 14.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009307/0.455, allocations: 411.7 kB / 0.5425 GB, free: 14.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.4551, allocations: 8 kB / 0.5426 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4551, allocations: 0 / 0.5426 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4551, allocations: 4 kB / 0.5426 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.4556, allocations: 96.03 kB / 0.5426 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.4556, allocations: 4 kB / 0.5427 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.4559, allocations: 27.91 kB / 0.5427 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.4559, allocations: 16 kB / 0.5427 GB, free: 13.88 MB / 430.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.0001582/0.4561, allocations: 145.7 kB / 0.5428 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/0.4561, allocations: 15.91 kB / 0.5428 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000387/0.4565, allocations: 186.9 kB / 0.543 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.4565, allocations: 4 kB / 0.543 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4565, allocations: 0 / 0.543 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.4565, allocations: 4 kB / 0.543 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.4582, allocations: 0.756 MB / 0.5438 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.4582, allocations: 3.938 kB / 0.5438 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/0.4587, allocations: 79.88 kB / 0.5439 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.4587, allocations: 4 kB / 0.5439 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.4587, allocations: 11.98 kB / 0.5439 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.4587, allocations: 12.09 kB / 0.5439 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.4587, allocations: 4 kB / 0.5439 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.4601, allocations: 0.6936 MB / 0.5446 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.4602, allocations: 132.9 kB / 0.5447 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.4603, allocations: 8 kB / 0.5447 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.4606, allocations: 23.97 kB / 0.5447 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.4607, allocations: 19.97 kB / 0.5447 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.4607, allocations: 16.38 kB / 0.5448 GB, free: 11.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.471e-05/0.4608, allocations: 95.2 kB / 0.5448 GB, free: 11.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4608, allocations: 0 / 0.5448 GB, free: 11.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005608/0.4613, allocations: 151.7 kB / 0.545 GB, free: 11.39 MB / 430.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.001981/0.4633, allocations: 1.38 MB / 0.5463 GB, free: 9.973 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008582/0.4642, allocations: 331.8 kB / 0.5467 GB, free: 9.648 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4642, allocations: 4 kB / 0.5467 GB, free: 9.645 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000404/0.4646, allocations: 171.8 kB / 0.5468 GB, free: 9.477 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006654/0.4652, allocations: 101.8 kB / 0.5469 GB, free: 9.383 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004594/0.4698, allocations: 2.829 MB / 0.5497 GB, free: 6.387 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.4702, allocations: 0.7332 MB / 0.5504 GB, free: 5.629 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003393/0.4706, allocations: 81.88 kB / 0.5505 GB, free: 5.547 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.4707, allocations: 63.41 kB / 0.5505 GB, free: 5.484 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4707, allocations: 0 / 0.5505 GB, free: 5.484 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03374/0.5044, allocations: 8.276 MB / 0.5586 GB, free: 13.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/8.668, allocations: 15.94 kB / 0.5586 GB, free: 13.13 MB / 446.1 MB " [Timeout remaining time 651] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.913417045027018]