Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.001349/0.001349, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001974/0.003323, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007433/0.0007433, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00145/0.002193, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 0.8776/0.8776, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1767/1.054, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] 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.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.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 222 MB, free: 28 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.158e-05, allocations: 2.312 kB / 222 MB, free: 24 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.2631/0.2631, allocations: 145 MB / 367 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2642, allocations: 0.7063 MB / 367.7 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.2644, allocations: 7.938 kB / 367.7 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.2646, allocations: 99.36 kB / 367.8 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005198/0.2652, allocations: 385.6 kB / 368.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000743/0.2659, allocations: 367.9 kB / 368.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007227/0.2666, allocations: 0.9229 MB / 369.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.2668, allocations: 70.86 kB / 369.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001414/0.2682, allocations: 0.9282 MB / 370.5 MB, free: 9.965 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.2685, allocations: 235.3 kB / 370.7 MB, free: 9.734 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.2685, allocations: 36 kB / 370.8 MB, free: 9.699 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.2687, allocations: 127.7 kB / 370.9 MB, free: 9.574 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.913e-05/0.2688, allocations: 83.72 kB / 371 MB, free: 9.492 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.621e-05/0.2689, allocations: 111.9 kB / 371.1 MB, free: 9.383 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.2693, allocations: 335.7 kB / 371.4 MB, free: 9.055 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.2693, allocations: 0 / 371.4 MB, free: 9.055 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2693, allocations: 0 / 371.4 MB, free: 9.055 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.2693, allocations: 0 / 371.4 MB, free: 9.055 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006357/0.2699, allocations: 0.5665 MB / 372 MB, free: 8.465 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2699, allocations: 12.03 kB / 372 MB, free: 8.453 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003326/0.2703, allocations: 157.7 kB / 372.1 MB, free: 8.281 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.2706, allocations: 197.5 kB / 372.3 MB, free: 8.062 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.2706, allocations: 24.44 kB / 372.4 MB, free: 8.039 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.2706, allocations: 28 kB / 372.4 MB, free: 8.012 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.271, allocations: 466.3 kB / 372.8 MB, free: 7.473 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.271, allocations: 7.938 kB / 372.8 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.271, allocations: 16 kB / 372.9 MB, free: 7.449 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.2711, allocations: 8 kB / 372.9 MB, free: 7.441 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.2712, allocations: 95.34 kB / 373 MB, free: 7.352 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.2722, allocations: 0.9919 MB / 374 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.2724, allocations: 104.1 kB / 374.1 MB, free: 6.211 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.495e-05/0.2725, allocations: 50.03 kB / 374.1 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.2725, allocations: 4 kB / 374.1 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.2725, allocations: 38.56 kB / 374.1 MB, free: 6.109 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.412e-06/0.2725, allocations: 0 / 374.1 MB, free: 6.109 MB / 330.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.002574/0.2751, allocations: 0.9192 MB / 375.1 MB, free: 5.137 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.2751, allocations: 59.41 kB / 375.1 MB, free: 5.066 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.2753, allocations: 204.8 kB / 375.3 MB, free: 4.855 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.2753, allocations: 33.7 kB / 375.4 MB, free: 4.816 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.924e-05/0.2754, allocations: 176.3 kB / 375.5 MB, free: 4.641 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.2756, allocations: 99.14 kB / 375.6 MB, free: 4.543 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.879e-05/0.2757, allocations: 69.47 kB / 375.7 MB, free: 4.469 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.329e-05/0.2758, allocations: 338.8 kB / 376 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.353e-05/0.2759, allocations: 31.98 kB / 376.1 MB, free: 4.098 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.276, allocations: 135.9 kB / 376.2 MB, free: 3.922 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.2762, allocations: 214.5 kB / 376.4 MB, free: 3.668 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2762, allocations: 0 / 376.4 MB, free: 3.668 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003132/0.2765, allocations: 238.9 kB / 376.6 MB, free: 3.422 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2765, allocations: 7.984 kB / 376.6 MB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2765, allocations: 4 kB / 376.6 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000132/0.2766, allocations: 42.11 kB / 376.7 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.277, allocations: 103.8 kB / 376.8 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.2783, allocations: 2.433 MB / 379.2 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.2785, allocations: 8 kB / 379.2 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.2785, allocations: 27.98 kB / 379.3 MB, free: 0.6133 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.2786, allocations: 136.5 kB / 379.4 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.2787, allocations: 31.91 kB / 379.4 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003796/0.2791, allocations: 263.5 kB / 379.7 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2791, allocations: 4 kB / 379.7 MB, free: 160 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2791, allocations: 4 kB / 379.7 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002662/0.2793, allocations: 460.7 kB / 380.1 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.2798, allocations: 408.8 kB / 380.5 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.2798, allocations: 7.922 kB / 380.5 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.2801, allocations: 75.94 kB / 380.6 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.2801, allocations: 23.8 kB / 380.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-05/0.2802, allocations: 20.91 kB / 380.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.2802, allocations: 11.98 kB / 380.7 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005318/0.2807, allocations: 1.158 MB / 381.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2807, allocations: 0 / 381.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.281, allocations: 301.9 kB / 382.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.281, allocations: 8 kB / 382.1 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.2812, allocations: 8 kB / 382.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.2812, allocations: 23.95 kB / 382.2 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.2812, allocations: 15.94 kB / 382.2 MB, free: 13.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.631e-05/0.2813, allocations: 66.78 kB / 382.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2813, allocations: 0 / 382.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003913/0.2817, allocations: 131.8 kB / 382.4 MB, free: 13.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002566/0.2819, allocations: 116.3 kB / 382.5 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005146/0.2824, allocations: 406.5 kB / 382.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/0.2825, allocations: 4 kB / 382.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.2826, allocations: 199.4 kB / 383.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/0.2833, allocations: 0.6914 MB / 383.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005439/0.2888, allocations: 0.589 MB / 384.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.623e-05/0.2888, allocations: 88.62 kB / 384.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002764/0.2891, allocations: 82.94 kB / 384.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003414/0.2894, allocations: 181.2 kB / 384.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2894, allocations: 0 / 384.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of Templates: time 0.01187/0.3013, allocations: 8.546 MB / 393.2 MB, free: 2.137 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.086390512995422]