Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001288/0.001288, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001407/0.001407, allocations: 211.9 kB / 24.51 MB, free: 3.941 MB / 14.72 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 1.377/1.377, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 47.92 kB / 378.5 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2482, allocations: 53.37 MB / 431.8 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4062/0.6544, allocations: 133.2 MB / 0.5518 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.6557, allocations: 1.434 MB / 0.5532 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.586e-05/0.6558, allocations: 2.969 kB / 0.5532 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.6561, allocations: 60.81 kB / 0.5532 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.6564, allocations: 170.2 kB / 0.5534 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002278/0.6587, allocations: 1.058 MB / 0.5544 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003749/0.6591, allocations: 356.9 kB / 0.5548 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.6591, allocations: 9.562 kB / 0.5548 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.6594, allocations: 174.7 kB / 0.5549 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.6596, allocations: 139.4 kB / 0.5551 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.6596, allocations: 13.75 kB / 0.5551 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.6614, allocations: 1.407 MB / 0.5565 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.861e-05/0.6615, allocations: 71.47 kB / 0.5565 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.6616, allocations: 91.42 kB / 0.5566 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.6628, allocations: 0.9907 MB / 0.5576 GB, free: 15.62 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6628, allocations: 0 / 0.5576 GB, free: 15.62 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.6628, allocations: 0 / 0.5576 GB, free: 15.62 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.6628, allocations: 2.875 kB / 0.5576 GB, free: 15.62 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.001716/0.6645, allocations: 0.6308 MB / 0.5582 GB, free: 15.21 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.6645, allocations: 17.48 kB / 0.5582 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.798e-05/0.6646, allocations: 3.453 kB / 0.5582 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.519e-05/0.6646, allocations: 57.48 kB / 0.5583 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.6647, allocations: 20.69 kB / 0.5583 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.665, allocations: 157.7 kB / 0.5585 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.665, allocations: 15.05 kB / 0.5585 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.665, allocations: 19.75 kB / 0.5585 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006135/0.6657, allocations: 368.2 kB / 0.5588 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.6657, allocations: 4 kB / 0.5588 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.6657, allocations: 6.469 kB / 0.5588 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.6657, allocations: 7.656 kB / 0.5589 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005585/0.6663, allocations: 264.3 kB / 0.5591 GB, free: 14.84 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.001334/0.6676, allocations: 0.6585 MB / 0.5597 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005584/0.6682, allocations: 213.3 kB / 0.56 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.6684, allocations: 129.3 kB / 0.5601 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/0.6686, allocations: 45.27 kB / 0.5601 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.6686, allocations: 45.34 kB / 0.5602 GB, free: 14.35 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.623e-06/0.6686, allocations: 0 / 0.5602 GB, free: 14.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002226/0.6709, allocations: 0.6834 MB / 0.5608 GB, free: 14.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.6709, allocations: 79.8 kB / 0.5609 GB, free: 14.17 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.671, allocations: 142.5 kB / 0.561 GB, free: 14.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.6711, allocations: 28.89 kB / 0.5611 GB, free: 14.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.6711, allocations: 118.2 kB / 0.5612 GB, free: 13.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.92e-05/0.6712, allocations: 132.2 kB / 0.5613 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.6713, allocations: 73.78 kB / 0.5614 GB, free: 13.83 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.6715, allocations: 329.1 kB / 0.5617 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.6718, allocations: 131.8 kB / 0.5618 GB, free: 13.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.6722, allocations: 219.4 kB / 0.562 GB, free: 13.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006897/0.6729, allocations: 356.8 kB / 0.5624 GB, free: 13.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6729, allocations: 0 / 0.5624 GB, free: 13.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008372/0.6737, allocations: 414.5 kB / 0.5628 GB, free: 13.31 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.6737, allocations: 8.969 kB / 0.5628 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6737, allocations: 2.219 kB / 0.5628 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.6738, allocations: 2.938 kB / 0.5628 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.6742, allocations: 87.12 kB / 0.5629 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.6742, allocations: 4.875 kB / 0.5629 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.6745, allocations: 40.06 kB / 0.5629 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.6746, allocations: 17.2 kB / 0.5629 GB, free: 13.29 MB / 462.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.0001384/0.6747, allocations: 144.9 kB / 0.5631 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.476e-05/0.6748, allocations: 15.69 kB / 0.5631 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/0.6751, allocations: 184.9 kB / 0.5632 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.6751, allocations: 2.969 kB / 0.5632 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6751, allocations: 2 kB / 0.5633 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.6751, allocations: 3.938 kB / 0.5633 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.6766, allocations: 0.7109 MB / 0.5639 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.6766, allocations: 3.312 kB / 0.564 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.6771, allocations: 77.78 kB / 0.564 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.6771, allocations: 2.406 kB / 0.564 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.6771, allocations: 20.69 kB / 0.564 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.6771, allocations: 3.625 kB / 0.5641 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6771, allocations: 2.875 kB / 0.5641 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.6783, allocations: 0.7286 MB / 0.5648 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.894e-05/0.6784, allocations: 43.75 kB / 0.5648 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.6785, allocations: 8.688 kB / 0.5648 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.6788, allocations: 21.53 kB / 0.5648 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.6789, allocations: 23.11 kB / 0.5649 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.6789, allocations: 17.58 kB / 0.5649 GB, free: 12.49 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.998e-05/0.679, allocations: 113.8 kB / 0.565 GB, free: 12.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.679, allocations: 4.062 kB / 0.565 GB, free: 12.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005679/0.6795, allocations: 158.2 kB / 0.5651 GB, free: 12.39 MB / 462.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.001889/0.6814, allocations: 1.388 MB / 0.5665 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007509/0.6822, allocations: 325.1 kB / 0.5668 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6822, allocations: 2.562 kB / 0.5668 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.6825, allocations: 169.9 kB / 0.567 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/0.6832, allocations: 105.5 kB / 0.5671 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/0.6875, allocations: 2.925 MB / 0.5699 GB, free: 9.859 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.6876, allocations: 129.1 kB / 0.57 GB, free: 9.777 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002946/0.6879, allocations: 83.41 kB / 0.5701 GB, free: 9.746 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.6881, allocations: 75.86 kB / 0.5702 GB, free: 9.734 MB / 462.1 MB Notification: Performance of SimCode: time 3.2e-07/0.6881, allocations: 0 / 0.5702 GB, free: 9.734 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03143/0.7195, allocations: 9.376 MB / 0.5794 GB, free: 7.617 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.9, allocations: 6.5 kB / 0.5794 GB, free: 7.613 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_4_1_0_Modelica_Media_Examples_MoistAir.fmu > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.368395224912092]