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.001214/0.001214, allocations: 80.8 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.001251/0.001251, allocations: 170.1 kB / 25.7 MB, free: 8.418 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.8314/0.8314, allocations: 158.6 MB / 187.6 MB, free: 2.789 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.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.673e-06/1.673e-06, allocations: 0 / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.333e-05, allocations: 6.25 kB / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.2403/0.2403, allocations: 144.6 MB / 396.1 MB, free: 9.309 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007423/0.2411, allocations: 0.6995 MB / 396.8 MB, free: 9.219 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.2412, allocations: 9.438 kB / 396.8 MB, free: 9.215 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.2415, allocations: 90.02 kB / 396.9 MB, free: 9.188 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000458/0.2419, allocations: 388.9 kB / 397.3 MB, free: 9.141 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.2424, allocations: 366.5 kB / 397.7 MB, free: 9.117 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005164/0.2429, allocations: 0.9215 MB / 398.6 MB, free: 9.117 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.243, allocations: 75.66 kB / 398.7 MB, free: 9.105 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.2441, allocations: 0.9094 MB / 399.6 MB, free: 8.984 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.2443, allocations: 234.3 kB / 399.8 MB, free: 8.953 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.2443, allocations: 34.72 kB / 399.8 MB, free: 8.949 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.2445, allocations: 121.4 kB / 400 MB, free: 8.922 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.2445, allocations: 106.8 kB / 400.1 MB, free: 8.883 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.545e-05/0.2446, allocations: 140.8 kB / 400.2 MB, free: 8.859 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.2449, allocations: 378.8 kB / 400.6 MB, free: 8.742 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2449, allocations: 3.938 kB / 400.6 MB, free: 8.738 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2449, allocations: 0 / 400.6 MB, free: 8.738 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.2449, allocations: 0 / 400.6 MB, free: 8.738 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.000416/0.2453, allocations: 0.4904 MB / 401.1 MB, free: 8.379 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.606e-05/0.2454, allocations: 15.23 kB / 401.1 MB, free: 8.375 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.2455, allocations: 78.56 kB / 401.2 MB, free: 8.344 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.2457, allocations: 196.8 kB / 401.3 MB, free: 8.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.2457, allocations: 19.06 kB / 401.4 MB, free: 8.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.2458, allocations: 32.59 kB / 401.4 MB, free: 8.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.246, allocations: 473.9 kB / 401.9 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.246, allocations: 3.984 kB / 401.9 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.246, allocations: 16.81 kB / 401.9 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.246, allocations: 8.312 kB / 401.9 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.691e-05/0.2461, allocations: 97.89 kB / 402 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.000675/0.2468, allocations: 0.999 MB / 403 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.2469, allocations: 96.86 kB / 403.1 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.2469, allocations: 47.03 kB / 403.1 MB, free: 6.891 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.247, allocations: 13.42 kB / 403.1 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.247, allocations: 36.47 kB / 403.2 MB, free: 6.844 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.162e-06/0.247, allocations: 2.625 kB / 403.2 MB, free: 6.844 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.002025/0.249, allocations: 0.914 MB / 404.1 MB, free: 6.359 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.324e-05/0.249, allocations: 58.28 kB / 404.1 MB, free: 6.293 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.559e-05/0.2491, allocations: 211.5 kB / 404.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.2491, allocations: 31.89 kB / 404.4 MB, free: 6.125 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.2491, allocations: 172.3 kB / 404.6 MB, free: 5.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.2492, allocations: 104.2 kB / 404.7 MB, free: 5.906 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.2492, allocations: 73.38 kB / 404.7 MB, free: 5.879 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.377e-05/0.2493, allocations: 335 kB / 405.1 MB, free: 5.559 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.003e-05/0.2493, allocations: 34.39 kB / 405.1 MB, free: 5.555 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.695e-05/0.2494, allocations: 141 kB / 405.2 MB, free: 5.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.2495, allocations: 206.5 kB / 405.4 MB, free: 5.273 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2495, allocations: 2.906 kB / 405.4 MB, free: 5.273 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002192/0.2497, allocations: 240.2 kB / 405.7 MB, free: 5.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.2497, allocations: 10.31 kB / 405.7 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2497, allocations: 2.656 kB / 405.7 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.2499, allocations: 42.91 kB / 405.7 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.25, allocations: 81.38 kB / 405.8 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00736/0.2574, allocations: 2.756 MB / 408.6 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.865e-05/0.2575, allocations: 8.562 kB / 408.6 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.2575, allocations: 28.98 kB / 408.6 MB, free: 2.457 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 7.078e-05/0.2576, allocations: 135 kB / 408.7 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.2576, allocations: 27.53 kB / 408.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.2579, allocations: 292 kB / 409 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2579, allocations: 2 kB / 409 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.2579, allocations: 3.5 kB / 409 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001354/0.258, allocations: 456.4 kB / 409.5 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.2583, allocations: 407.6 kB / 409.9 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.2583, allocations: 1.969 kB / 409.9 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.2585, allocations: 56.23 kB / 409.9 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.817e-05/0.2585, allocations: 28.73 kB / 410 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.2585, allocations: 6.312 kB / 410 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002625/0.2588, allocations: 1.16 MB / 411.1 MB, free: 252 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2588, allocations: 0 / 411.1 MB, free: 252 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.259, allocations: 315.3 kB / 411.4 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.259, allocations: 25.52 kB / 411.5 MB, free: 20 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.259, allocations: 12.5 kB / 411.5 MB, free: 16 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.306e-05/0.2591, allocations: 6.312 kB / 411.5 MB, free: 16 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.2591, allocations: 22.89 kB / 411.5 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.2592, allocations: 15.53 kB / 411.5 MB, free: 0 / 330.7 MB Notification: Performance of sorting global known variables: time 7.453e-05/0.2592, allocations: 72.61 kB / 411.6 MB, free: 15.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2592, allocations: 0 / 411.6 MB, free: 15.97 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002672/0.2595, allocations: 125.3 kB / 411.7 MB, free: 15.96 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.0002224/0.2597, allocations: 133.5 kB / 411.8 MB, free: 15.87 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000312/0.26, allocations: 391.3 kB / 412.2 MB, free: 15.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.26, allocations: 2.031 kB / 412.2 MB, free: 15.6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.2601, allocations: 191 kB / 412.4 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.0003638/0.2605, allocations: 137.5 kB / 412.6 MB, free: 15.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007877/0.2613, allocations: 0.5767 MB / 413.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.075e-05/0.2614, allocations: 92.62 kB / 413.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001955/0.2615, allocations: 87.06 kB / 413.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.2618, allocations: 181 kB / 413.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2618, allocations: 0 / 413.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of Templates: time 0.00864/0.2705, allocations: 8.864 MB / 422.3 MB, free: 10.26 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0376011137850583]