Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001661/0.001661, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.00194/0.00194, allocations: 194.2 kB / 23.71 MB, free: 4.406 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.423/1.423, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 48.06 kB / 370.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2377, allocations: 52.19 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05782/0.2955, allocations: 45.43 MB / 468.5 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007193/0.3027, allocations: 4.689 MB / 473.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.3029, allocations: 7.938 kB / 473.2 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008087/0.3037, allocations: 230.6 kB / 473.4 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007375/0.3045, allocations: 369.9 kB / 473.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0176/0.3221, allocations: 7.12 MB / 480.9 MB, free: 4.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001527/0.3236, allocations: 1.107 MB / 482 MB, free: 3.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.3238, allocations: 94.72 kB / 482.1 MB, free: 3.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006635/0.3305, allocations: 3.595 MB / 485.7 MB, free: 15.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006129/0.3311, allocations: 406.5 kB / 486.1 MB, free: 15.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.3312, allocations: 60 kB / 486.1 MB, free: 15.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01719/0.3484, allocations: 9.275 MB / 495.4 MB, free: 5.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003515/0.3487, allocations: 235.4 kB / 495.7 MB, free: 5.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004007/0.3491, allocations: 267.1 kB / 495.9 MB, free: 5.402 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.3604, allocations: 5.441 MB / 0.4896 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3604, allocations: 0 / 0.4896 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3604, allocations: 0 / 0.4896 GB, free: 15.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.3604, allocations: 0 / 0.4896 GB, free: 15.95 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003203/0.3636, allocations: 1.308 MB / 0.4909 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3636, allocations: 20.02 kB / 0.4909 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003409/0.3639, allocations: 59.72 kB / 0.491 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005873/0.3645, allocations: 313.1 kB / 0.4913 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.3646, allocations: 33 kB / 0.4913 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.83e-05/0.3647, allocations: 44 kB / 0.4913 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.3662, allocations: 0.8894 MB / 0.4922 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.3662, allocations: 0 / 0.4922 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.734e-05/0.3662, allocations: 24 kB / 0.4922 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.3663, allocations: 8 kB / 0.4922 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.3677, allocations: 0.7417 MB / 0.493 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01314/0.3808, allocations: 3.596 MB / 0.4965 GB, free: 8.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.3822, allocations: 0.504 MB / 0.497 GB, free: 8.238 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004129/0.3826, allocations: 244.1 kB / 0.4972 GB, free: 8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01107/0.3937, allocations: 2.569 MB / 0.4997 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.855e-05/0.3937, allocations: 51 kB / 0.4997 GB, free: 5.371 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 2.495e-06/0.3937, allocations: 0 / 0.4997 GB, free: 5.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.006128/0.3999, allocations: 1.889 MB / 0.5016 GB, free: 3.438 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.3999, allocations: 59.91 kB / 0.5016 GB, free: 3.367 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.4003, allocations: 268.8 kB / 0.5019 GB, free: 3.098 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.418e-05/0.4003, allocations: 37.7 kB / 0.5019 GB, free: 3.055 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.4005, allocations: 205.3 kB / 0.5021 GB, free: 2.848 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.4007, allocations: 198.3 kB / 0.5023 GB, free: 2.652 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.4009, allocations: 122.3 kB / 0.5024 GB, free: 2.527 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.4011, allocations: 338.8 kB / 0.5028 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004322/0.4015, allocations: 241.2 kB / 0.503 GB, free: 1.949 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006992/0.4022, allocations: 344.2 kB / 0.5033 GB, free: 1.582 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.4035, allocations: 0.6034 MB / 0.5039 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.4035, allocations: 4 kB / 0.5039 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001958/0.4054, allocations: 0.7482 MB / 0.5046 GB, free: 184 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4054, allocations: 8 kB / 0.5047 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4054, allocations: 0 / 0.5047 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005196/0.406, allocations: 114.4 kB / 0.5048 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/0.4065, allocations: 119.9 kB / 0.5049 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002893/0.4094, allocations: 3.219 MB / 0.508 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/0.4097, allocations: 20.03 kB / 0.508 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.045e-05/0.4098, allocations: 31.98 kB / 0.5081 GB, free: 12.43 MB / 430.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.0003028/0.4101, allocations: 197.5 kB / 0.5083 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/0.4104, allocations: 43.75 kB / 0.5083 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.4121, allocations: 0.8074 MB / 0.5091 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4121, allocations: 4 kB / 0.5091 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.4121, allocations: 0 / 0.5091 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001285/0.4134, allocations: 0.7674 MB / 0.5098 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/0.4157, allocations: 1.129 MB / 0.5109 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4157, allocations: 4.062 kB / 0.5109 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004652/0.4161, allocations: 99.83 kB / 0.511 GB, free: 9.234 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009357/0.4171, allocations: 148.7 kB / 0.5112 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.907e-05/0.4171, allocations: 23.98 kB / 0.5112 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004819/0.4176, allocations: 0.6484 MB / 0.5118 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4176, allocations: 0 / 0.5118 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.4194, allocations: 0.9092 MB / 0.5127 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.173e-05/0.4195, allocations: 31.84 kB / 0.5128 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.502e-05/0.4195, allocations: 15.94 kB / 0.5128 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004017/0.4199, allocations: 19.98 kB / 0.5128 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.42, allocations: 36.36 kB / 0.5128 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.23e-05/0.4201, allocations: 32.08 kB / 0.5129 GB, free: 7.324 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002581/0.4204, allocations: 216.4 kB / 0.5131 GB, free: 7.113 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4204, allocations: 0 / 0.5131 GB, free: 7.113 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003463/0.4238, allocations: 1.333 MB / 0.5144 GB, free: 5.777 MB / 430.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.006021/0.4298, allocations: 1.697 MB / 0.516 GB, free: 4.074 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.4315, allocations: 0.7724 MB / 0.5168 GB, free: 3.273 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4316, allocations: 0 / 0.5168 GB, free: 3.273 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006281/0.4322, allocations: 291.8 kB / 0.5171 GB, free: 2.988 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.4335, allocations: 221 kB / 0.5173 GB, free: 2.773 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.4357, allocations: 1.106 MB / 0.5183 GB, free: 1.633 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.4361, allocations: 233.4 kB / 0.5186 GB, free: 1.391 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006857/0.4368, allocations: 135.2 kB / 0.5187 GB, free: 1.254 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.4369, allocations: 55.42 kB / 0.5188 GB, free: 1.199 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4369, allocations: 0 / 0.5188 GB, free: 1.199 MB / 430.1 MB Notification: Performance of Templates: time 0.2351/0.6721, allocations: 44.74 MB / 0.5624 GB, free: 94.5 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.349742848426104]