Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001318/0.001318, allocations: 112 kB / 20.43 MB, free: 1.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.001413/0.001413, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir")
translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 51.91 kB / 370.9 MB, free: 9.363 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2308, allocations: 52.19 MB / 423.1 MB, free: 14.7 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3979/0.6287, allocations: 151.9 MB / 0.5616 GB, free: 13.69 MB / 462.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001545/0.6302, allocations: 1.614 MB / 0.5631 GB, free: 13.56 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.537e-05/0.6303, allocations: 0 / 0.5631 GB, free: 13.56 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.6307, allocations: 63.5 kB / 0.5632 GB, free: 13.54 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.631, allocations: 157.6 kB / 0.5633 GB, free: 13.5 MB / 462.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.6335, allocations: 1.045 MB / 0.5644 GB, free: 13.3 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003807/0.6339, allocations: 327.9 kB / 0.5647 GB, free: 13.25 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.6339, allocations: 15.28 kB / 0.5647 GB, free: 13.24 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.6341, allocations: 153.6 kB / 0.5648 GB, free: 13.22 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.6343, allocations: 129.4 kB / 0.565 GB, free: 13.22 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.6344, allocations: 10.66 kB / 0.565 GB, free: 13.22 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002267/0.6366, allocations: 1.645 MB / 0.5666 GB, free: 13.13 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.158e-05/0.6367, allocations: 73.83 kB / 0.5667 GB, free: 13.13 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.6368, allocations: 96.77 kB / 0.5667 GB, free: 13.13 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001264/0.6381, allocations: 0.9927 MB / 0.5677 GB, free: 13.06 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6381, allocations: 0 / 0.5677 GB, free: 13.06 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.172e-06/0.6381, allocations: 0 / 0.5677 GB, free: 13.06 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 5.64e-06/0.6381, allocations: 0 / 0.5677 GB, free: 13.06 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.00168/0.6398, allocations: 0.6111 MB / 0.5683 GB, free: 12.67 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.6398, allocations: 10.47 kB / 0.5683 GB, free: 12.67 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.64, allocations: 22.39 kB / 0.5683 GB, free: 12.66 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.6402, allocations: 166.2 kB / 0.5685 GB, free: 12.52 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.6402, allocations: 15.23 kB / 0.5685 GB, free: 12.51 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.6403, allocations: 16.97 kB / 0.5685 GB, free: 12.51 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005393/0.6408, allocations: 262.2 kB / 0.5688 GB, free: 12.46 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.6408, allocations: 0 / 0.5688 GB, free: 12.46 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.6409, allocations: 9.75 kB / 0.5688 GB, free: 12.46 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.6409, allocations: 4.969 kB / 0.5688 GB, free: 12.46 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006176/0.6415, allocations: 270.4 kB / 0.5691 GB, free: 12.45 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.001424/0.6429, allocations: 0.7525 MB / 0.5698 GB, free: 11.98 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006193/0.6435, allocations: 217.9 kB / 0.57 GB, free: 11.93 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.6438, allocations: 131.5 kB / 0.5701 GB, free: 11.91 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.644, allocations: 51.19 kB / 0.5702 GB, free: 11.91 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.644, allocations: 39.97 kB / 0.5702 GB, free: 11.86 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=29): time 1.432e-06/0.644, allocations: 1.094 kB / 0.5702 GB, free: 11.86 MB / 462.1 MB
Notification: Performance of matching and sorting (n=36): time 0.002394/0.6464, allocations: 0.6783 MB / 0.5709 GB, free: 11.77 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.6465, allocations: 82.39 kB / 0.5709 GB, free: 11.68 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.977e-05/0.6466, allocations: 126.1 kB / 0.5711 GB, free: 11.58 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.6466, allocations: 31.67 kB / 0.5711 GB, free: 11.55 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.6467, allocations: 105.2 kB / 0.5712 GB, free: 11.45 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.6468, allocations: 133.5 kB / 0.5713 GB, free: 11.36 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.6469, allocations: 68.25 kB / 0.5714 GB, free: 11.34 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001398/0.647, allocations: 328.4 kB / 0.5717 GB, free: 11.03 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.6474, allocations: 130.4 kB / 0.5718 GB, free: 11.03 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.6478, allocations: 212 kB / 0.572 GB, free: 10.95 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007641/0.6486, allocations: 365.9 kB / 0.5724 GB, free: 10.86 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6486, allocations: 4.766 kB / 0.5724 GB, free: 10.86 MB / 462.1 MB
Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009155/0.6495, allocations: 403.7 kB / 0.5728 GB, free: 10.8 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.6495, allocations: 5.562 kB / 0.5728 GB, free: 10.8 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6495, allocations: 3.391 kB / 0.5728 GB, free: 10.8 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.6495, allocations: 5.281 kB / 0.5728 GB, free: 10.8 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.65, allocations: 83.66 kB / 0.5729 GB, free: 10.79 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.65, allocations: 6.281 kB / 0.5729 GB, free: 10.79 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.6503, allocations: 34.05 kB / 0.5729 GB, free: 10.78 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.6503, allocations: 23.28 kB / 0.5729 GB, free: 10.77 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.0001405/0.6505, allocations: 136.5 kB / 0.5731 GB, free: 10.66 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.842e-05/0.6506, allocations: 17.5 kB / 0.5731 GB, free: 10.65 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.6509, allocations: 176.9 kB / 0.5732 GB, free: 10.61 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.6509, allocations: 2.844 kB / 0.5732 GB, free: 10.61 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6509, allocations: 5.844 kB / 0.5732 GB, free: 10.6 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.6509, allocations: 3.297 kB / 0.5733 GB, free: 10.6 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.6525, allocations: 0.7359 MB / 0.574 GB, free: 10.26 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6525, allocations: 4.094 kB / 0.574 GB, free: 10.26 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004368/0.653, allocations: 85.78 kB / 0.5741 GB, free: 10.25 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.653, allocations: 3.297 kB / 0.5741 GB, free: 10.25 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.653, allocations: 8.25 kB / 0.5741 GB, free: 10.25 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.653, allocations: 4.734 kB / 0.5741 GB, free: 10.25 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.653, allocations: 6.906 kB / 0.5741 GB, free: 10.25 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.6543, allocations: 0.7087 MB / 0.5748 GB, free: 9.969 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.6544, allocations: 36.7 kB / 0.5748 GB, free: 9.961 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.6545, allocations: 10.78 kB / 0.5748 GB, free: 9.961 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.6549, allocations: 21.7 kB / 0.5748 GB, free: 9.961 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.6549, allocations: 33.27 kB / 0.5749 GB, free: 9.953 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.6549, allocations: 9.922 kB / 0.5749 GB, free: 9.953 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 6.508e-05/0.655, allocations: 96.33 kB / 0.575 GB, free: 9.879 MB / 462.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.655, allocations: 3.672 kB / 0.575 GB, free: 9.879 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.0005707/0.6556, allocations: 142.9 kB / 0.5751 GB, free: 9.859 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.0004113/0.656, allocations: 233.6 kB / 0.5753 GB, free: 9.734 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.0008263/0.6568, allocations: 330.8 kB / 0.5756 GB, free: 9.715 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6568, allocations: 0 / 0.5756 GB, free: 9.715 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003937/0.6572, allocations: 171.8 kB / 0.5758 GB, free: 9.699 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006979/0.6579, allocations: 96.09 kB / 0.5759 GB, free: 9.684 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.6592, allocations: 0.612 MB / 0.5765 GB, free: 9.344 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.6596, allocations: 0.7415 MB / 0.5772 GB, free: 8.641 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.0003187/0.6599, allocations: 84.61 kB / 0.5773 GB, free: 8.605 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.66, allocations: 33.84 kB / 0.5773 GB, free: 8.594 MB / 462.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.66, allocations: 0 / 0.5773 GB, free: 8.594 MB / 462.1 MB
Notification: Performance of Templates: time 0.01043/0.6705, allocations: 6.193 MB / 0.5834 GB, free: 5.652 MB / 462.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.9439075058326125]