Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.00183/0.00183, allocations: 106 kB / 21.18 MB, free: 0.707 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.002134/0.002134, allocations: 185.3 kB / 24.47 MB, free: 4.074 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.47/1.47, allocations: 207.6 MB / 235.2 MB, free: 10.01 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.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.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1")
translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") [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.001825/0.001825, allocations: 51.92 kB / 347.7 MB, free: 9.547 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2427, allocations: 49.16 MB / 396.8 MB, free: 9.512 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05832/0.301, allocations: 51.2 MB / 448 MB, free: 76 kB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007184/0.3082, allocations: 5.234 MB / 453.3 MB, free: 10.82 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.3084, allocations: 7.938 kB / 453.3 MB, free: 10.81 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008081/0.3092, allocations: 266.6 kB / 453.5 MB, free: 10.55 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000679/0.3099, allocations: 369.9 kB / 453.9 MB, free: 10.19 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.01895/0.3288, allocations: 6.821 MB / 460.7 MB, free: 3.352 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001598/0.3304, allocations: 1.107 MB / 461.8 MB, free: 2.242 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.3306, allocations: 109.8 kB / 461.9 MB, free: 2.133 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.00715/0.3378, allocations: 3.611 MB / 465.5 MB, free: 14.52 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006455/0.3384, allocations: 426.6 kB / 465.9 MB, free: 14.1 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.359e-05/0.3385, allocations: 60 kB / 466 MB, free: 14.04 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01962/0.3582, allocations: 10.03 MB / 476 MB, free: 3.992 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003519/0.3585, allocations: 239.3 kB / 476.3 MB, free: 3.758 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004784/0.359, allocations: 306.9 kB / 476.6 MB, free: 3.457 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01299/0.372, allocations: 5.495 MB / 482.1 MB, free: 13.95 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.372, allocations: 0 / 482.1 MB, free: 13.95 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.633e-06/0.372, allocations: 0 / 482.1 MB, free: 13.95 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.012e-05/0.372, allocations: 0 / 482.1 MB, free: 13.95 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 107
 * Number of variables: 107
Notification: Performance of Generate backend data structure: time 0.003494/0.3755, allocations: 1.323 MB / 483.4 MB, free: 12.59 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.3755, allocations: 15.98 kB / 483.4 MB, free: 12.57 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003678/0.3759, allocations: 55.72 kB / 483.5 MB, free: 12.52 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000558/0.3765, allocations: 316.1 kB / 483.8 MB, free: 12.18 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.3765, allocations: 29 kB / 483.8 MB, free: 12.15 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.969e-05/0.3766, allocations: 51.95 kB / 483.8 MB, free: 12.1 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.378, allocations: 0.5881 MB / 484.4 MB, free: 11.51 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.378, allocations: 0 / 484.4 MB, free: 11.51 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.559e-05/0.378, allocations: 20 kB / 484.5 MB, free: 11.49 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.3781, allocations: 12 kB / 484.5 MB, free: 11.48 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.3795, allocations: 0.7534 MB / 485.2 MB, free: 10.73 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01329/0.3928, allocations: 4.165 MB / 489.4 MB, free: 6.41 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.3942, allocations: 0.508 MB / 489.9 MB, free: 5.887 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004105/0.3946, allocations: 238.1 kB / 490.1 MB, free: 5.652 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01106/0.4056, allocations: 2.565 MB / 492.7 MB, free: 3.086 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.187e-05/0.4057, allocations: 39 kB / 492.7 MB, free: 3.039 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=50): time 3.256e-06/0.4057, allocations: 0 / 492.7 MB, free: 3.039 MB / 398.1 MB
Notification: Performance of matching and sorting (n=55): time 0.005982/0.4117, allocations: 1.905 MB / 494.6 MB, free: 1.098 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.4117, allocations: 55.91 kB / 494.7 MB, free: 1.031 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004057/0.4121, allocations: 320.2 kB / 495 MB, free: 0.7148 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.953e-05/0.4122, allocations: 37.7 kB / 495 MB, free: 0.6719 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.4124, allocations: 204.7 kB / 495.2 MB, free: 480 kB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.4125, allocations: 202.3 kB / 495.4 MB, free: 276 kB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.4127, allocations: 118.3 kB / 495.6 MB, free: 148 kB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.000211/0.4129, allocations: 346.8 kB / 495.9 MB, free: 15.8 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.4134, allocations: 237.2 kB / 496.1 MB, free: 15.57 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006967/0.4141, allocations: 340.3 kB / 496.5 MB, free: 15.2 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.4153, allocations: 0.6073 MB / 497.1 MB, free: 14.56 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4153, allocations: 0 / 497.1 MB, free: 14.56 MB / 414.1 MB
Notification: Performance of matching and sorting (n=70) (initialization): time 0.001906/0.4172, allocations: 0.7522 MB / 497.8 MB, free: 13.79 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.4172, allocations: 11.92 kB / 497.8 MB, free: 13.78 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.4172, allocations: 4 kB / 497.8 MB, free: 13.77 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005286/0.4178, allocations: 98.52 kB / 497.9 MB, free: 13.67 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.4183, allocations: 123.8 kB / 498 MB, free: 13.55 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/0.421, allocations: 3.262 MB / 0.4896 GB, free: 10.04 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.4214, allocations: 16 kB / 0.4896 GB, free: 10.02 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.512e-05/0.4214, allocations: 35.92 kB / 0.4896 GB, free: 9.984 MB / 414.1 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 (67):
 * Single equations (assignments): 64
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * 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): 1 system
   {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.0003153/0.4218, allocations: 205.4 kB / 0.4898 GB, free: 9.773 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000294/0.4221, allocations: 47.72 kB / 0.4898 GB, free: 9.727 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/0.4237, allocations: 0.8153 MB / 0.4906 GB, free: 8.875 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.4237, allocations: 4 kB / 0.4906 GB, free: 8.871 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4237, allocations: 7.938 kB / 0.4907 GB, free: 8.863 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001204/0.4249, allocations: 0.7635 MB / 0.4914 GB, free: 8.031 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/0.4271, allocations: 1.273 MB / 0.4926 GB, free: 6.699 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4271, allocations: 0 / 0.4926 GB, free: 6.699 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004585/0.4276, allocations: 95.89 kB / 0.4927 GB, free: 6.605 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0009427/0.4285, allocations: 152.6 kB / 0.4929 GB, free: 6.453 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/0.4286, allocations: 23.92 kB / 0.4929 GB, free: 6.43 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000455/0.429, allocations: 0.6406 MB / 0.4935 GB, free: 5.766 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.429, allocations: 4.031 kB / 0.4935 GB, free: 5.762 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.4308, allocations: 0.9093 MB / 0.4944 GB, free: 4.82 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.926e-05/0.4309, allocations: 35.84 kB / 0.4945 GB, free: 4.785 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.12e-05/0.4309, allocations: 12 kB / 0.4945 GB, free: 4.773 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/0.4313, allocations: 19.98 kB / 0.4945 GB, free: 4.754 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.4314, allocations: 36.36 kB / 0.4945 GB, free: 4.719 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.848e-05/0.4315, allocations: 27.98 kB / 0.4945 GB, free: 4.691 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0003045/0.4318, allocations: 259 kB / 0.4948 GB, free: 4.438 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.4318, allocations: 4 kB / 0.4948 GB, free: 4.434 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.003524/0.4353, allocations: 1.317 MB / 0.4961 GB, free: 3.113 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51):
 * Single equations (assignments): 50
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * 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): 1 system
   {2}
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.005179/0.4405, allocations: 1.715 MB / 0.4978 GB, free: 1.387 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.001625/0.4421, allocations: 0.7801 MB / 0.4985 GB, free: 0.5781 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4421, allocations: 0.5625 kB / 0.4985 GB, free: 0.5781 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005736/0.4427, allocations: 283.2 kB / 0.4988 GB, free: 308 kB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.444, allocations: 289.1 kB / 0.4991 GB, free: 20 kB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.446, allocations: 1.112 MB / 0.5002 GB, free: 14.87 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.4465, allocations: 0.8326 MB / 0.501 GB, free: 14.01 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.0004982/0.447, allocations: 136.3 kB / 0.5011 GB, free: 13.87 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.4472, allocations: 63.41 kB / 0.5012 GB, free: 13.81 MB / 430.1 MB
Notification: Performance of SimCode: time 8.22e-07/0.4472, allocations: 0 / 0.5012 GB, free: 13.81 MB / 430.1 MB
Notification: Performance of Templates: time 0.06792/0.5151, allocations: 46.85 MB / 0.5469 GB, free: 14.86 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 13.124046623706818]