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.001477/0.001477, allocations: 112.5 kB / 21.94 MB, free: 12 kB / 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.001613/0.001613, allocations: 200.8 kB / 25.23 MB, free: 3.539 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.498/1.498, allocations: 207.6 MB / 236 MB, free: 9.984 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 53.33 kB / 348.5 MB, free: 9.504 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2664, allocations: 49.16 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.2236/0.49, allocations: 173.5 MB / 0.5577 GB, free: 5.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005021/0.495, allocations: 3.256 MB / 0.5609 GB, free: 2 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003961/0.4954, allocations: 7.938 kB / 0.5609 GB, free: 1.992 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007569/0.4961, allocations: 178.9 kB / 0.5611 GB, free: 1.816 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.4974, allocations: 409.5 kB / 0.5615 GB, free: 1.418 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.4985, allocations: 363.2 kB / 0.5618 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001568/0.5001, allocations: 0.907 MB / 0.5627 GB, free: 156 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.5003, allocations: 80.86 kB / 0.5628 GB, free: 76 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3586/0.8589, allocations: 0.8027 MB / 0.5636 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005885/0.8595, allocations: 286.7 kB / 0.5639 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.273e-05/0.8596, allocations: 31.25 kB / 0.5639 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004381/0.86, allocations: 125.7 kB / 0.564 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.8602, allocations: 96.95 kB / 0.5641 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002689/0.8604, allocations: 185.6 kB / 0.5643 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008602/0.8613, allocations: 0.5215 MB / 0.5648 GB, free: 2.391 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.8613, allocations: 0.6562 kB / 0.5648 GB, free: 2.391 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.8613, allocations: 1.844 kB / 0.5648 GB, free: 2.391 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.425e-06/0.8613, allocations: 0 / 0.5648 GB, free: 2.391 MB / 478.1 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.001136/0.8624, allocations: 0.5195 MB / 0.5653 GB, free: 18.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.8625, allocations: 14.02 kB / 0.5653 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003347/0.8628, allocations: 43.95 kB / 0.5654 GB, free: 18.03 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000548/0.8634, allocations: 227.7 kB / 0.5656 GB, free: 17.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.8634, allocations: 19.12 kB / 0.5656 GB, free: 17.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.005e-05/0.8635, allocations: 24.41 kB / 0.5656 GB, free: 17.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005699/0.864, allocations: 317.5 kB / 0.5659 GB, free: 17.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.8641, allocations: 1.094 kB / 0.5659 GB, free: 17.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.8641, allocations: 17.55 kB / 0.5659 GB, free: 17.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.8641, allocations: 6.688 kB / 0.5659 GB, free: 17.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.8645, allocations: 204.9 kB / 0.5661 GB, free: 17.78 MB / 494.1 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.002362/0.8668, allocations: 1.558 MB / 0.5677 GB, free: 16.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.8672, allocations: 167.2 kB / 0.5678 GB, free: 16.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.8673, allocations: 89.36 kB / 0.5679 GB, free: 16.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.8674, allocations: 9.5 kB / 0.5679 GB, free: 16.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.8674, allocations: 39.09 kB / 0.5679 GB, free: 16.56 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.272e-06/0.8674, allocations: 0.8125 kB / 0.568 GB, free: 16.56 MB / 494.1 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.00571/0.8731, allocations: 1.317 MB / 0.5692 GB, free: 16.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.8732, allocations: 58.44 kB / 0.5693 GB, free: 16.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003142/0.8735, allocations: 257.7 kB / 0.5695 GB, free: 16.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.8735, allocations: 30.52 kB / 0.5696 GB, free: 16.01 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.8737, allocations: 179.4 kB / 0.5697 GB, free: 15.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.807e-05/0.8737, allocations: 104.9 kB / 0.5698 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.8739, allocations: 83.06 kB / 0.5699 GB, free: 15.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002876/0.8741, allocations: 337.1 kB / 0.5702 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.8743, allocations: 89 kB / 0.5703 GB, free: 15.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.8745, allocations: 189.1 kB / 0.5705 GB, free: 15.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.8749, allocations: 308.9 kB / 0.5708 GB, free: 15.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.875, allocations: 1.406 kB / 0.5708 GB, free: 15.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007033/0.8757, allocations: 399.9 kB / 0.5712 GB, free: 15.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.8757, allocations: 6.438 kB / 0.5712 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.8757, allocations: 7 kB / 0.5712 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002387/0.8759, allocations: 75.42 kB / 0.5713 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/0.8763, allocations: 85.38 kB / 0.5713 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.8782, allocations: 1.849 MB / 0.5732 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.8785, allocations: 13.77 kB / 0.5732 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.346e-05/0.8785, allocations: 39.02 kB / 0.5732 GB, free: 13.44 MB / 494.1 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.0002012/0.8788, allocations: 156.8 kB / 0.5734 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.467e-05/0.8788, allocations: 31.28 kB / 0.5734 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008898/0.8797, allocations: 441.2 kB / 0.5738 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.8797, allocations: 3.219 kB / 0.5738 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.8797, allocations: 3.062 kB / 0.5738 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006528/0.8804, allocations: 0.5574 MB / 0.5744 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.8815, allocations: 0.6994 MB / 0.575 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.8815, allocations: 1.156 kB / 0.575 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.8819, allocations: 68.8 kB / 0.5751 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-05/0.8819, allocations: 24.77 kB / 0.5751 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.882, allocations: 19.23 kB / 0.5751 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.883, allocations: 1.286 MB / 0.5764 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.8831, allocations: 0.7188 kB / 0.5764 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007192/0.8838, allocations: 483 kB / 0.5769 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.896e-05/0.8838, allocations: 23.83 kB / 0.5769 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/0.8839, allocations: 9.125 kB / 0.5769 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.8841, allocations: 11.31 kB / 0.5769 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.8842, allocations: 30.98 kB / 0.5769 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.876e-05/0.8842, allocations: 31.17 kB / 0.577 GB, free: 11.06 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002356/0.8845, allocations: 189.2 kB / 0.5771 GB, free: 10.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8845, allocations: 0 / 0.5771 GB, free: 10.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007109/0.8852, allocations: 128.6 kB / 0.5773 GB, free: 10.97 MB / 494.1 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 (26): * Single equations (assignments): 25 * 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.0004024/0.8856, allocations: 144.7 kB / 0.5774 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007697/0.8864, allocations: 366.5 kB / 0.5778 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.8864, allocations: 2.406 kB / 0.5778 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003373/0.8867, allocations: 231.7 kB / 0.578 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009823/0.8877, allocations: 162.8 kB / 0.5781 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.8891, allocations: 0.7341 MB / 0.5788 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.8896, allocations: 0.7668 MB / 0.5796 GB, free: 9.602 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.8898, allocations: 74.23 kB / 0.5797 GB, free: 9.594 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.8898, allocations: 0.7812 kB / 0.5797 GB, free: 9.594 MB / 494.1 MB Notification: Performance of Templates: time 0.01101/0.9009, allocations: 7.561 MB / 0.5871 GB, free: 9.086 MB / 494.1 MB " [Timeout remaining time 659] 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/jenkins1/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/jenkins1/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: 9.000259614083916]