Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001898/0.001898, allocations: 115.8 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.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.002294/0.002294, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 8.016 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: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 55.91 kB / 378.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2382, allocations: 53.36 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07927/0.3175, allocations: 66.38 MB / 498 MB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007403/0.3249, allocations: 5.511 MB / 0.4917 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.3251, allocations: 11.94 kB / 0.4917 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009501/0.3261, allocations: 365.9 kB / 0.4921 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009039/0.327, allocations: 0.5128 MB / 0.4926 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01832/0.3453, allocations: 7.541 MB / 0.5 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002091/0.3474, allocations: 1.575 MB / 0.5015 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002896/0.3477, allocations: 145.4 kB / 0.5016 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009567/0.3486, allocations: 0.6347 MB / 0.5022 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009059/0.3496, allocations: 0.6112 MB / 0.5028 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.3497, allocations: 84 kB / 0.5029 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01971/0.3694, allocations: 10.47 MB / 0.5131 GB, free: 8.816 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000478/0.3699, allocations: 327.2 kB / 0.5135 GB, free: 8.496 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006328/0.3705, allocations: 442.3 kB / 0.5139 GB, free: 8.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01636/0.3869, allocations: 5.982 MB / 0.5197 GB, free: 2.066 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.3869, allocations: 4 kB / 0.5197 GB, free: 2.062 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3869, allocations: 0 / 0.5197 GB, free: 2.062 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.3869, allocations: 0 / 0.5197 GB, free: 2.062 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003989/0.3909, allocations: 1.545 MB / 0.5212 GB, free: 492 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3909, allocations: 8.031 kB / 0.5212 GB, free: 484 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004665/0.3914, allocations: 87.56 kB / 0.5213 GB, free: 396 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007595/0.3921, allocations: 383.2 kB / 0.5217 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/0.3922, allocations: 45.31 kB / 0.5217 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.3923, allocations: 71.89 kB / 0.5218 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.3942, allocations: 0.8147 MB / 0.5226 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.3942, allocations: 0 / 0.5226 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.797e-05/0.3943, allocations: 28 kB / 0.5226 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.3943, allocations: 16 kB / 0.5226 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/0.3964, allocations: 1.028 MB / 0.5236 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0156/0.412, allocations: 4.985 MB / 0.5285 GB, free: 8.777 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.4139, allocations: 0.7072 MB / 0.5292 GB, free: 8.062 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000642/0.4145, allocations: 391.8 kB / 0.5296 GB, free: 7.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01237/0.4269, allocations: 2.6 MB / 0.5321 GB, free: 5.074 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.48e-05/0.4269, allocations: 47.22 kB / 0.5322 GB, free: 5.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.545e-06/0.4269, allocations: 0 / 0.5322 GB, free: 5.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01042/0.4374, allocations: 3.153 MB / 0.5352 GB, free: 1.836 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.4374, allocations: 60.41 kB / 0.5353 GB, free: 1.762 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/0.4379, allocations: 360.5 kB / 0.5356 GB, free: 1.406 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.438, allocations: 41.7 kB / 0.5357 GB, free: 1.359 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.4382, allocations: 233.3 kB / 0.5359 GB, free: 1.129 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/0.4385, allocations: 329.2 kB / 0.5362 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002753/0.4387, allocations: 162.6 kB / 0.5364 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.4389, allocations: 366.8 kB / 0.5367 GB, free: 280 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1907/0.6297, allocations: 366.8 kB / 0.5371 GB, free: 106.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.6309, allocations: 496.1 kB / 0.5375 GB, free: 106.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001796/0.6327, allocations: 0.9039 MB / 0.5384 GB, free: 105.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.6327, allocations: 1.969 kB / 0.5384 GB, free: 105.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002518/0.6352, allocations: 1.119 MB / 0.5395 GB, free: 105.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.6352, allocations: 6.391 kB / 0.5395 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.6352, allocations: 6.812 kB / 0.5395 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008146/0.636, allocations: 161.6 kB / 0.5397 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000773/0.6368, allocations: 194.4 kB / 0.5399 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.6387, allocations: 3.909 MB / 0.5437 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.6391, allocations: 20.52 kB / 0.5437 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-05/0.6392, allocations: 43.3 kB / 0.5438 GB, free: 101.6 MB / 446.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0002975/0.6395, allocations: 226.9 kB / 0.544 GB, free: 101.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003733/0.6399, allocations: 65.95 kB / 0.544 GB, free: 101.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.6421, allocations: 1.275 MB / 0.5453 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.6421, allocations: 7.875 kB / 0.5453 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.6421, allocations: 0.7031 kB / 0.5453 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001593/0.6437, allocations: 1.324 MB / 0.5466 GB, free: 99.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002828/0.6465, allocations: 1.936 MB / 0.5485 GB, free: 99.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.6465, allocations: 6.844 kB / 0.5485 GB, free: 99.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006638/0.6472, allocations: 165.2 kB / 0.5486 GB, free: 99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/0.6489, allocations: 299.4 kB / 0.5489 GB, free: 98.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.306e-05/0.6489, allocations: 33.17 kB / 0.549 GB, free: 98.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004933/0.6494, allocations: 1.283 MB / 0.5502 GB, free: 97.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6494, allocations: 1.875 kB / 0.5502 GB, free: 97.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/0.6516, allocations: 1.42 MB / 0.5516 GB, free: 97.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.6517, allocations: 57.92 kB / 0.5516 GB, free: 97.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.6518, allocations: 19.91 kB / 0.5517 GB, free: 97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005406/0.6524, allocations: 34.27 kB / 0.5517 GB, free: 96.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.6525, allocations: 59.77 kB / 0.5518 GB, free: 96.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.13e-05/0.6525, allocations: 39.34 kB / 0.5518 GB, free: 96.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002513/0.6528, allocations: 279.7 kB / 0.5521 GB, free: 96.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6528, allocations: 0 / 0.5521 GB, free: 96.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003204/0.656, allocations: 1.424 MB / 0.5535 GB, free: 96.73 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005287/0.6613, allocations: 1.74 MB / 0.5552 GB, free: 96.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001993/0.6633, allocations: 1.099 MB / 0.5562 GB, free: 95.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6633, allocations: 3.781 kB / 0.5562 GB, free: 95.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007671/0.6641, allocations: 492.7 kB / 0.5567 GB, free: 95.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.6658, allocations: 387 kB / 0.5571 GB, free: 95.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.6681, allocations: 1.69 MB / 0.5587 GB, free: 93.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.6684, allocations: 0.9148 MB / 0.5596 GB, free: 92.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005922/0.669, allocations: 206.8 kB / 0.5598 GB, free: 92.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.6692, allocations: 83.41 kB / 0.5599 GB, free: 92.54 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6692, allocations: 0 / 0.5599 GB, free: 92.54 MB / 446.1 MB Notification: Performance of Templates: time 0.05168/0.7208, allocations: 50.83 MB / 0.6095 GB, free: 41.84 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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: 21.077477497048676]