Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001801/0.001801, allocations: 107.8 kB / 19.76 MB, free: 2.551 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.002124/0.002124, allocations: 188.1 kB / 22.92 MB, free: 5.578 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.513/1.513, allocations: 207.6 MB / 233.5 MB, free: 10.98 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.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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") [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.001699/0.001699, allocations: 55.92 kB / 345.4 MB, free: 10.44 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2635, allocations: 49.12 MB / 394.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07946/0.343, allocations: 66.39 MB / 460.9 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008112/0.3511, allocations: 5.504 MB / 466.4 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006016/0.3517, allocations: 4 kB / 466.4 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.353, allocations: 365.9 kB / 466.8 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.3544, allocations: 0.5167 MB / 467.3 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02034/0.3747, allocations: 7.105 MB / 474.4 MB, free: 3.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002154/0.3769, allocations: 1.555 MB / 476 MB, free: 2.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003291/0.3772, allocations: 152.9 kB / 476.1 MB, free: 2.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.3783, allocations: 0.6269 MB / 476.7 MB, free: 1.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008676/0.3792, allocations: 0.6034 MB / 477.3 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.3793, allocations: 84 kB / 477.4 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0193/0.3986, allocations: 10.27 MB / 487.7 MB, free: 6.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005639/0.3991, allocations: 331.1 kB / 488 MB, free: 6.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007443/0.3999, allocations: 434.5 kB / 488.5 MB, free: 5.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01662/0.4165, allocations: 5.931 MB / 494.4 MB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4165, allocations: 0 / 494.4 MB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4165, allocations: 4 kB / 494.4 MB, free: 15.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.4165, allocations: 3.984 kB / 494.4 MB, free: 15.73 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00461/0.4211, allocations: 1.593 MB / 496 MB, free: 14.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.4212, allocations: 12.03 kB / 496 MB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004695/0.4217, allocations: 87.56 kB / 496.1 MB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007222/0.4224, allocations: 456.9 kB / 496.5 MB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.682e-05/0.4224, allocations: 45.31 kB / 496.6 MB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.4225, allocations: 67.94 kB / 496.6 MB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.4245, allocations: 0.8146 MB / 497.5 MB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.062e-05/0.4245, allocations: 7.984 kB / 497.5 MB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.675e-05/0.4246, allocations: 24 kB / 497.5 MB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.4246, allocations: 16 kB / 497.5 MB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.4266, allocations: 1.024 MB / 498.5 MB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01926/0.4459, allocations: 12.79 MB / 0.4993 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.4477, allocations: 0.7062 MB / 0.5 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006078/0.4483, allocations: 386.6 kB / 0.5004 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01655/0.4649, allocations: 12.24 MB / 0.5123 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.433e-05/0.4649, allocations: 43.22 kB / 0.5124 GB, free: 12.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.385e-06/0.4649, allocations: 0 / 0.5124 GB, free: 12.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01014/0.4751, allocations: 3.393 MB / 0.5157 GB, free: 9.309 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.4751, allocations: 68.39 kB / 0.5158 GB, free: 9.227 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004958/0.4756, allocations: 352.5 kB / 0.5161 GB, free: 8.875 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.937e-05/0.4757, allocations: 41.7 kB / 0.5161 GB, free: 8.828 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.4759, allocations: 245.2 kB / 0.5164 GB, free: 8.586 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/0.4762, allocations: 325.2 kB / 0.5167 GB, free: 8.266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002759/0.4765, allocations: 158.6 kB / 0.5168 GB, free: 8.105 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.4767, allocations: 362.8 kB / 0.5172 GB, free: 7.742 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006353/0.4773, allocations: 369.8 kB / 0.5175 GB, free: 7.379 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009924/0.4783, allocations: 492.2 kB / 0.518 GB, free: 6.867 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/0.4802, allocations: 0.9098 MB / 0.5189 GB, free: 5.926 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.4802, allocations: 4 kB / 0.5189 GB, free: 5.922 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002711/0.4829, allocations: 1.121 MB / 0.52 GB, free: 4.777 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.4829, allocations: 4.281 kB / 0.52 GB, free: 4.773 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.4829, allocations: 8 kB / 0.52 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008856/0.4838, allocations: 163.3 kB / 0.5202 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007809/0.4846, allocations: 191.7 kB / 0.5203 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/0.488, allocations: 4.124 MB / 0.5244 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004306/0.4884, allocations: 16 kB / 0.5244 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.4885, allocations: 43.98 kB / 0.5244 GB, free: 15.89 MB / 462.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.0004072/0.4889, allocations: 233.8 kB / 0.5246 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003844/0.4893, allocations: 59.67 kB / 0.5247 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.4919, allocations: 1.284 MB / 0.526 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.4919, allocations: 8 kB / 0.526 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4919, allocations: 0 / 0.526 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001982/0.4938, allocations: 1.324 MB / 0.5273 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003425/0.4973, allocations: 1.968 MB / 0.5292 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4973, allocations: 0 / 0.5292 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/0.498, allocations: 159.8 kB / 0.5293 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001819/0.4998, allocations: 293.4 kB / 0.5296 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.788e-05/0.4999, allocations: 31.98 kB / 0.5296 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000994/0.5009, allocations: 1.293 MB / 0.5309 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5009, allocations: 4.062 kB / 0.5309 GB, free: 8.957 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002826/0.5037, allocations: 1.421 MB / 0.5323 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.5039, allocations: 128.8 kB / 0.5324 GB, free: 7.363 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.504, allocations: 20 kB / 0.5324 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005213/0.5046, allocations: 35.97 kB / 0.5325 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.5047, allocations: 60.86 kB / 0.5325 GB, free: 7.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.5048, allocations: 39.97 kB / 0.5326 GB, free: 7.211 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003548/0.5051, allocations: 275 kB / 0.5328 GB, free: 6.945 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5051, allocations: 0 / 0.5328 GB, free: 6.945 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004134/0.5093, allocations: 1.411 MB / 0.5342 GB, free: 5.531 MB / 462.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.006532/0.5158, allocations: 1.768 MB / 0.5359 GB, free: 3.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002539/0.5184, allocations: 1.113 MB / 0.537 GB, free: 2.605 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.5184, allocations: 4.125 kB / 0.537 GB, free: 2.602 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009934/0.5194, allocations: 483.2 kB / 0.5375 GB, free: 2.125 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.5213, allocations: 378.2 kB / 0.5378 GB, free: 1.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.5246, allocations: 1.688 MB / 0.5395 GB, free: 32 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006927/0.5253, allocations: 0.9128 MB / 0.5404 GB, free: 15.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007599/0.5261, allocations: 205.1 kB / 0.5406 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.5263, allocations: 79.41 kB / 0.5407 GB, free: 14.82 MB / 478.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5263, allocations: 0 / 0.5407 GB, free: 14.82 MB / 478.1 MB Notification: Performance of Templates: time 0.2346/0.7609, allocations: 51.79 MB / 0.5912 GB, free: 134.3 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 20.456608049571514]