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.001848/0.001848, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001943/0.001943, allocations: 209.4 kB / 23.73 MB, free: 4.523 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.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001597/0.001597, allocations: 47.92 kB / 378.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2403, allocations: 53.37 MB / 431.6 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07587/0.3162, allocations: 59 MB / 490.6 MB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007413/0.3236, allocations: 4.963 MB / 495.5 MB, free: 6.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004205/0.3241, allocations: 7.938 kB / 495.5 MB, free: 6.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.3251, allocations: 330 kB / 495.9 MB, free: 6.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.3262, allocations: 0.5128 MB / 496.4 MB, free: 5.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.019/0.3452, allocations: 7.461 MB / 0.492 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002288/0.3475, allocations: 1.571 MB / 0.4936 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003468/0.3479, allocations: 149.4 kB / 0.4937 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.3491, allocations: 0.6502 MB / 0.4943 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.3503, allocations: 0.6034 MB / 0.4949 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002386/0.3505, allocations: 84 kB / 0.495 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01961/0.3701, allocations: 9.865 MB / 0.5046 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005898/0.3707, allocations: 335.1 kB / 0.505 GB, free: 1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008409/0.3716, allocations: 382.8 kB / 0.5053 GB, free: 0.625 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01374/0.3853, allocations: 5.884 MB / 0.5111 GB, free: 10.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3853, allocations: 0 / 0.5111 GB, free: 10.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3853, allocations: 0 / 0.5111 GB, free: 10.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.422e-05/0.3853, allocations: 0 / 0.5111 GB, free: 10.73 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.004377/0.3897, allocations: 1.528 MB / 0.5126 GB, free: 9.164 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3898, allocations: 8.031 kB / 0.5126 GB, free: 9.156 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004964/0.3902, allocations: 87.56 kB / 0.5127 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007861/0.391, allocations: 391.1 kB / 0.513 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.885e-05/0.3911, allocations: 49.31 kB / 0.5131 GB, free: 8.617 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.3912, allocations: 63.95 kB / 0.5131 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.3934, allocations: 1.22 MB / 0.5143 GB, free: 7.227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/0.3934, allocations: 0 / 0.5143 GB, free: 7.227 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-05/0.3935, allocations: 28 kB / 0.5144 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.3936, allocations: 12 kB / 0.5144 GB, free: 7.188 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002162/0.3957, allocations: 1.024 MB / 0.5154 GB, free: 6.164 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01526/0.411, allocations: 4.054 MB / 0.5193 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.413, allocations: 0.6999 MB / 0.52 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006577/0.4136, allocations: 387.9 kB / 0.5204 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01196/0.4256, allocations: 2.612 MB / 0.5229 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.941e-05/0.4257, allocations: 47.22 kB / 0.523 GB, free: 14.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.346e-06/0.4257, allocations: 0 / 0.523 GB, free: 14.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01062/0.4363, allocations: 3.151 MB / 0.5261 GB, free: 11.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.4363, allocations: 64.39 kB / 0.5261 GB, free: 11.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003828/0.4367, allocations: 297.8 kB / 0.5264 GB, free: 10.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.4368, allocations: 45.7 kB / 0.5264 GB, free: 10.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.437, allocations: 249.1 kB / 0.5267 GB, free: 10.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/0.4373, allocations: 325.2 kB / 0.527 GB, free: 10.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/0.4376, allocations: 170.6 kB / 0.5272 GB, free: 9.957 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.4378, allocations: 354.8 kB / 0.5275 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006532/0.4384, allocations: 369.8 kB / 0.5278 GB, free: 9.238 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.4394, allocations: 492.2 kB / 0.5283 GB, free: 8.727 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/0.4413, allocations: 0.9021 MB / 0.5292 GB, free: 7.793 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4414, allocations: 4 kB / 0.5292 GB, free: 7.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002811/0.4442, allocations: 1.106 MB / 0.5303 GB, free: 6.664 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.4442, allocations: 15.92 kB / 0.5303 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.4442, allocations: 12.28 kB / 0.5303 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008833/0.4451, allocations: 167.3 kB / 0.5305 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008334/0.4459, allocations: 191.8 kB / 0.5307 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/0.4493, allocations: 3.86 MB / 0.5344 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.4498, allocations: 27.97 kB / 0.5344 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.4499, allocations: 43.98 kB / 0.5345 GB, free: 2.094 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.0004029/0.4503, allocations: 226.1 kB / 0.5347 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004384/0.4507, allocations: 55.72 kB / 0.5348 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00266/0.4534, allocations: 1.268 MB / 0.536 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.4534, allocations: 12 kB / 0.536 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4534, allocations: 7.875 kB / 0.536 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2008/0.6542, allocations: 1.309 MB / 0.5373 GB, free: 107 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003092/0.6573, allocations: 1.727 MB / 0.539 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.6573, allocations: 1.281 kB / 0.539 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007176/0.658, allocations: 160 kB / 0.5391 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001793/0.6598, allocations: 301.2 kB / 0.5394 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-05/0.6598, allocations: 35.7 kB / 0.5395 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005331/0.6604, allocations: 1.285 MB / 0.5407 GB, free: 105 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.6604, allocations: 4.812 kB / 0.5407 GB, free: 105 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.6628, allocations: 1.41 MB / 0.5421 GB, free: 104.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.6629, allocations: 45.66 kB / 0.5421 GB, free: 104.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.026e-05/0.663, allocations: 24.16 kB / 0.5422 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005219/0.6635, allocations: 38.8 kB / 0.5422 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.711e-05/0.6636, allocations: 59.02 kB / 0.5423 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.129e-05/0.6637, allocations: 49.25 kB / 0.5423 GB, free: 104.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002357/0.6639, allocations: 243 kB / 0.5425 GB, free: 104.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6639, allocations: 1.375 kB / 0.5425 GB, free: 104.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003255/0.6672, allocations: 1.424 MB / 0.5439 GB, free: 104.1 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.004635/0.6718, allocations: 1.727 MB / 0.5456 GB, free: 103.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.6737, allocations: 1.109 MB / 0.5467 GB, free: 103.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6737, allocations: 3.531 kB / 0.5467 GB, free: 103.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007738/0.6745, allocations: 480.4 kB / 0.5472 GB, free: 103.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.6759, allocations: 346.6 kB / 0.5475 GB, free: 103.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.6782, allocations: 1.665 MB / 0.5491 GB, free: 102.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.6784, allocations: 309.5 kB / 0.5494 GB, free: 101.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005714/0.6789, allocations: 197.8 kB / 0.5496 GB, free: 101.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.6791, allocations: 78.98 kB / 0.5497 GB, free: 101.6 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6791, allocations: 4 kB / 0.5497 GB, free: 101.6 MB / 446.1 MB Notification: Performance of Templates: time 0.04999/0.7291, allocations: 50.63 MB / 0.5991 GB, free: 51.88 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.083092665765435]