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.001813/0.001813, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.001504/0.001504, allocations: 166.5 kB / 25.02 MB, free: 8.945 MB / 18.57 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.403/1.403, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 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.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.553e-06/1.553e-06, allocations: 0 / 250.4 MB, free: 7.785 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.867e-05, allocations: 5.828 kB / 250.4 MB, free: 7.781 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3482/0.3482, allocations: 149.4 MB / 399.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003082/0.3513, allocations: 2.946 MB / 402.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.3515, allocations: 6.656 kB / 402.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005636/0.352, allocations: 168.1 kB / 402.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007762/0.3528, allocations: 426 kB / 403.3 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007139/0.3535, allocations: 352.7 kB / 403.7 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006868/0.3542, allocations: 0.9076 MB / 404.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.3544, allocations: 68.11 kB / 404.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.3559, allocations: 0.9341 MB / 405.6 MB, free: 9.797 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.3561, allocations: 249.7 kB / 405.8 MB, free: 9.719 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.928e-05/0.3562, allocations: 37.03 kB / 405.8 MB, free: 9.711 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002351/0.3564, allocations: 124 kB / 406 MB, free: 9.684 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.316e-05/0.3565, allocations: 102.1 kB / 406.1 MB, free: 9.648 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.3567, allocations: 137.4 kB / 406.2 MB, free: 9.625 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005257/0.3572, allocations: 0.5382 MB / 406.7 MB, free: 9.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3572, allocations: 0 / 406.7 MB, free: 9.395 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3572, allocations: 0 / 406.7 MB, free: 9.395 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3572, allocations: 0 / 406.7 MB, free: 9.395 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.0007204/0.3579, allocations: 0.5241 MB / 407.3 MB, free: 9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.358, allocations: 11.98 kB / 407.3 MB, free: 8.996 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000326/0.3583, allocations: 79.16 kB / 407.4 MB, free: 8.961 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.3587, allocations: 239.4 kB / 407.6 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.3587, allocations: 17.34 kB / 407.6 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/0.3588, allocations: 29.09 kB / 407.6 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.3593, allocations: 0.5343 MB / 408.2 MB, free: 8.355 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.3593, allocations: 6.453 kB / 408.2 MB, free: 8.352 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.3593, allocations: 16.78 kB / 408.2 MB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.3593, allocations: 16.11 kB / 408.2 MB, free: 8.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.3596, allocations: 204 kB / 408.4 MB, free: 8.301 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.001353/0.361, allocations: 1.14 MB / 409.5 MB, free: 7.461 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.3612, allocations: 159.2 kB / 409.7 MB, free: 7.422 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.3614, allocations: 88.11 kB / 409.8 MB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.3614, allocations: 9.359 kB / 409.8 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.3614, allocations: 40.59 kB / 409.8 MB, free: 7.359 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.183e-06/0.3614, allocations: 0 / 409.8 MB, free: 7.359 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.004866/0.3663, allocations: 1.289 MB / 411.1 MB, free: 6.836 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.3663, allocations: 56.22 kB / 411.2 MB, free: 6.773 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.3666, allocations: 232 kB / 411.4 MB, free: 6.633 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.3666, allocations: 35.23 kB / 411.4 MB, free: 6.602 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.087e-05/0.3667, allocations: 186.6 kB / 411.6 MB, free: 6.453 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/0.3667, allocations: 97.31 kB / 411.7 MB, free: 6.383 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.885e-05/0.3668, allocations: 79.11 kB / 411.8 MB, free: 6.355 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.352e-05/0.3669, allocations: 335.4 kB / 412.1 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.367, allocations: 84.03 kB / 412.2 MB, free: 5.996 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.3672, allocations: 184.6 kB / 412.4 MB, free: 5.832 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.3675, allocations: 298.8 kB / 412.7 MB, free: 5.609 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3675, allocations: 0 / 412.7 MB, free: 5.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005546/0.3681, allocations: 397.3 kB / 413.1 MB, free: 5.398 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3681, allocations: 11.83 kB / 413.1 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3681, allocations: 7 kB / 413.1 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.3683, allocations: 57.77 kB / 413.1 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.3686, allocations: 87.83 kB / 413.2 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009645/0.3696, allocations: 1.807 MB / 415 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.3698, allocations: 13.81 kB / 415 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/0.3698, allocations: 30.64 kB / 415.1 MB, free: 3.512 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.3699, allocations: 157.8 kB / 415.2 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-05/0.37, allocations: 38.72 kB / 415.3 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006651/0.3707, allocations: 395.6 kB / 415.7 MB, free: 3.094 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3707, allocations: 2.844 kB / 415.7 MB, free: 3.094 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.3707, allocations: 0 / 415.7 MB, free: 3.094 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003776/0.3711, allocations: 0.542 MB / 416.2 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007621/0.3718, allocations: 0.6035 MB / 416.8 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3718, allocations: 0 / 416.8 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.3721, allocations: 71.42 kB / 416.9 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.994e-05/0.3722, allocations: 27.5 kB / 416.9 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.3722, allocations: 13.28 kB / 416.9 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006169/0.3728, allocations: 1.244 MB / 418.2 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.3729, allocations: 3.062 kB / 418.2 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005588/0.3734, allocations: 456.5 kB / 418.6 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.3734, allocations: 27.84 kB / 418.6 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.3735, allocations: 6 kB / 418.6 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.3737, allocations: 10.25 kB / 418.6 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.3738, allocations: 34.09 kB / 418.7 MB, free: 444 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.3738, allocations: 20.16 kB / 418.7 MB, free: 440 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001218/0.3739, allocations: 168.6 kB / 418.9 MB, free: 316 kB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3739, allocations: 0 / 418.9 MB, free: 316 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004899/0.3744, allocations: 126.5 kB / 419 MB, free: 296 kB / 330.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.0003318/0.3747, allocations: 149.7 kB / 419.1 MB, free: 180 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005664/0.3753, allocations: 354.2 kB / 419.5 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3753, allocations: 3.938 kB / 419.5 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.3756, allocations: 206.6 kB / 419.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008309/0.3764, allocations: 150.8 kB / 419.8 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.3775, allocations: 0.6223 MB / 420.5 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.3777, allocations: 150.3 kB / 420.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003342/0.378, allocations: 98.83 kB / 420.7 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.3782, allocations: 59.3 kB / 420.8 MB, free: 15.09 MB / 346.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3782, allocations: 0 / 420.8 MB, free: 15.09 MB / 346.7 MB Notification: Performance of Templates: time 0.01379/0.392, allocations: 7.678 MB / 428.4 MB, free: 9.879 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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: 4.86748301202897]