Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.0009114/0.0009114, allocations: 76.81 kB / 22.28 MB, free: 2.207 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.0008903/0.0008903, allocations: 164.2 kB / 25.69 MB, free: 7.957 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 0.8768/0.8768, allocations: 158.6 MB / 187.6 MB, free: 2.793 MB / 170.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.IdealGases.Nitrogen,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.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,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.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.257e-05, allocations: 2.312 kB / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.2519/0.2519, allocations: 144.6 MB / 396.2 MB, free: 9.309 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.2531, allocations: 0.7127 MB / 396.9 MB, free: 9.219 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.2532, allocations: 6.719 kB / 396.9 MB, free: 9.215 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.2536, allocations: 96.33 kB / 397 MB, free: 9.188 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005777/0.2541, allocations: 393.8 kB / 397.4 MB, free: 9.141 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006717/0.2548, allocations: 366.7 kB / 397.7 MB, free: 9.121 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008763/0.2557, allocations: 0.9413 MB / 398.7 MB, free: 9.117 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.2558, allocations: 76.73 kB / 398.7 MB, free: 9.105 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.2573, allocations: 0.9216 MB / 399.6 MB, free: 8.988 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/0.2576, allocations: 228.9 kB / 399.9 MB, free: 8.953 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.2576, allocations: 32.62 kB / 399.9 MB, free: 8.953 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.2578, allocations: 121.7 kB / 400 MB, free: 8.926 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.704e-05/0.2579, allocations: 114.2 kB / 400.1 MB, free: 8.883 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.258, allocations: 136.6 kB / 400.3 MB, free: 8.859 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.2584, allocations: 378.2 kB / 400.6 MB, free: 8.746 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2584, allocations: 0 / 400.6 MB, free: 8.746 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2584, allocations: 0 / 400.6 MB, free: 8.746 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.2584, allocations: 0 / 400.6 MB, free: 8.746 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.0004548/0.2588, allocations: 496.6 kB / 401.1 MB, free: 8.391 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.2589, allocations: 14.92 kB / 401.1 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.2591, allocations: 83.33 kB / 401.2 MB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.2593, allocations: 198.8 kB / 401.4 MB, free: 8.184 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.2593, allocations: 24.56 kB / 401.4 MB, free: 8.184 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.2593, allocations: 30.77 kB / 401.5 MB, free: 8.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.2595, allocations: 479.1 kB / 401.9 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2595, allocations: 3.984 kB / 401.9 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.2596, allocations: 12 kB / 402 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.2596, allocations: 5.281 kB / 402 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.417e-05/0.2597, allocations: 102.5 kB / 402.1 MB, free: 7.707 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.0007565/0.2604, allocations: 0.9888 MB / 403 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.2606, allocations: 106.5 kB / 403.1 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.2606, allocations: 50.77 kB / 403.2 MB, free: 6.891 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.2606, allocations: 9.781 kB / 403.2 MB, free: 6.887 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.2606, allocations: 36.72 kB / 403.2 MB, free: 6.848 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/0.2606, allocations: 0 / 403.2 MB, free: 6.848 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.002135/0.2628, allocations: 0.9108 MB / 404.2 MB, free: 6.367 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.563e-05/0.2628, allocations: 61.64 kB / 404.2 MB, free: 6.297 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.2629, allocations: 212 kB / 404.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.2629, allocations: 31.27 kB / 404.5 MB, free: 6.129 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.505e-05/0.2629, allocations: 174.6 kB / 404.6 MB, free: 5.984 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.263, allocations: 102 kB / 404.7 MB, free: 5.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.377e-05/0.263, allocations: 66.59 kB / 404.8 MB, free: 5.891 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.554e-05/0.2631, allocations: 342.1 kB / 405.1 MB, free: 5.566 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.204e-05/0.2631, allocations: 32.62 kB / 405.2 MB, free: 5.559 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.75e-05/0.2632, allocations: 140 kB / 405.3 MB, free: 5.434 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.2633, allocations: 202.5 kB / 405.5 MB, free: 5.281 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2633, allocations: 4 kB / 405.5 MB, free: 5.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002356/0.2636, allocations: 239.2 kB / 405.7 MB, free: 5.164 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2636, allocations: 5.781 kB / 405.7 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.2636, allocations: 6.797 kB / 405.7 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/0.2637, allocations: 43.39 kB / 405.8 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.2639, allocations: 85.33 kB / 405.9 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007667/0.2715, allocations: 2.756 MB / 408.6 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.2717, allocations: 12.09 kB / 408.6 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.2717, allocations: 25.56 kB / 408.7 MB, free: 2.465 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 9.871e-05/0.2718, allocations: 136.3 kB / 408.8 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.2718, allocations: 23.23 kB / 408.8 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.2721, allocations: 288.7 kB / 409.1 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2721, allocations: 6.797 kB / 409.1 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2721, allocations: 6.969 kB / 409.1 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001429/0.2723, allocations: 452.5 kB / 409.5 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003781/0.2727, allocations: 408 kB / 409.9 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2727, allocations: 0 / 409.9 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.2728, allocations: 63.48 kB / 410 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.91e-05/0.2729, allocations: 20.77 kB / 410 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.2729, allocations: 6.281 kB / 410 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002933/0.2732, allocations: 1.166 MB / 411.2 MB, free: 256 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2732, allocations: 0 / 411.2 MB, free: 256 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.2734, allocations: 309.9 kB / 411.5 MB, free: 48 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.2734, allocations: 21.3 kB / 411.5 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.2734, allocations: 10.33 kB / 411.5 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/0.2735, allocations: 12.44 kB / 411.5 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.2736, allocations: 19.84 kB / 411.6 MB, free: 16 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.2736, allocations: 18.27 kB / 411.6 MB, free: 12 kB / 330.7 MB Notification: Performance of sorting global known variables: time 7.1e-05/0.2736, allocations: 67.25 kB / 411.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-08/0.2736, allocations: 0 / 411.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003017/0.2739, allocations: 125.7 kB / 411.8 MB, free: 15.98 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.0002508/0.2742, allocations: 136.1 kB / 411.9 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003448/0.2745, allocations: 388.7 kB / 412.3 MB, free: 15.61 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.2745, allocations: 6.844 kB / 412.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.2747, allocations: 189.4 kB / 412.5 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.275, allocations: 140.1 kB / 412.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009082/0.276, allocations: 0.5754 MB / 413.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.665e-05/0.276, allocations: 95.59 kB / 413.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002329/0.2762, allocations: 87.16 kB / 413.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/0.2765, allocations: 181.7 kB / 413.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of SimCode: time 8.81e-07/0.2765, allocations: 0 / 413.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of Templates: time 0.01029/0.2868, allocations: 8.872 MB / 422.4 MB, free: 10.26 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.970312361139804]