Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.001085/0.001085, allocations: 80.8 kB / 22.29 MB, free: 2.199 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.001137/0.001137, allocations: 170.8 kB / 25.69 MB, free: 8.449 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.8865/0.8865, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.Air,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.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,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.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.36e-05, allocations: 2.312 kB / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.2568/0.2568, allocations: 144.6 MB / 396.1 MB, free: 9.324 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007469/0.2576, allocations: 0.6999 MB / 396.8 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.2577, allocations: 13.94 kB / 396.8 MB, free: 9.227 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.258, allocations: 94.27 kB / 396.9 MB, free: 9.199 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004579/0.2584, allocations: 387.9 kB / 397.3 MB, free: 9.148 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.2589, allocations: 359.9 kB / 397.7 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005206/0.2594, allocations: 0.9231 MB / 398.6 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.2595, allocations: 75.72 kB / 398.7 MB, free: 9.121 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.2606, allocations: 0.9163 MB / 399.6 MB, free: 8.996 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.2608, allocations: 233.2 kB / 399.8 MB, free: 8.965 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.2608, allocations: 30.31 kB / 399.8 MB, free: 8.965 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.2609, allocations: 123.9 kB / 400 MB, free: 8.938 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.756e-05/0.261, allocations: 104.8 kB / 400.1 MB, free: 8.898 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.876e-05/0.2611, allocations: 144 kB / 400.2 MB, free: 8.875 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.2614, allocations: 370.5 kB / 400.6 MB, free: 8.766 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2614, allocations: 2.781 kB / 400.6 MB, free: 8.766 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.2614, allocations: 0 / 400.6 MB, free: 8.766 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.2614, allocations: 0 / 400.6 MB, free: 8.766 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.000425/0.2618, allocations: 0.4947 MB / 401.1 MB, free: 8.402 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.554e-05/0.2618, allocations: 12.33 kB / 401.1 MB, free: 8.398 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.262, allocations: 82.05 kB / 401.2 MB, free: 8.363 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.2622, allocations: 196.4 kB / 401.3 MB, free: 8.199 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.2622, allocations: 18.38 kB / 401.4 MB, free: 8.199 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.2622, allocations: 32.75 kB / 401.4 MB, free: 8.199 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.2624, allocations: 483.5 kB / 401.9 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2624, allocations: 3.984 kB / 401.9 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.2624, allocations: 13 kB / 401.9 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2625, allocations: 8.312 kB / 401.9 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.765e-05/0.2625, allocations: 91.36 kB / 402 MB, free: 7.727 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.0006731/0.2632, allocations: 1.001 MB / 403 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.2633, allocations: 96.34 kB / 403.1 MB, free: 6.922 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.2634, allocations: 45.25 kB / 403.1 MB, free: 6.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.2634, allocations: 12.34 kB / 403.1 MB, free: 6.906 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.2634, allocations: 33.12 kB / 403.2 MB, free: 6.867 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.162e-06/0.2634, allocations: 3.375 kB / 403.2 MB, free: 6.867 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.00201/0.2654, allocations: 0.9169 MB / 404.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.158e-05/0.2654, allocations: 54.66 kB / 404.1 MB, free: 6.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.141e-05/0.2655, allocations: 211.7 kB / 404.3 MB, free: 6.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.2655, allocations: 35.67 kB / 404.4 MB, free: 6.148 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.2656, allocations: 166.4 kB / 404.5 MB, free: 6.008 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.2656, allocations: 102.8 kB / 404.6 MB, free: 5.934 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.2657, allocations: 72.8 kB / 404.7 MB, free: 5.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.345e-05/0.2657, allocations: 346.8 kB / 405.1 MB, free: 5.582 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.905e-05/0.2657, allocations: 31.77 kB / 405.1 MB, free: 5.578 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.2658, allocations: 141.6 kB / 405.2 MB, free: 5.445 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.2659, allocations: 204.9 kB / 405.4 MB, free: 5.293 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2659, allocations: 0 / 405.4 MB, free: 5.293 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002165/0.2661, allocations: 239.6 kB / 405.7 MB, free: 5.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.2661, allocations: 7.906 kB / 405.7 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2662, allocations: 3.406 kB / 405.7 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001118/0.2663, allocations: 42.81 kB / 405.7 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.2664, allocations: 86.17 kB / 405.8 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007417/0.2738, allocations: 2.754 MB / 408.5 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.373e-05/0.2739, allocations: 6.281 kB / 408.6 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.274, allocations: 25.12 kB / 408.6 MB, free: 2.48 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 6.775e-05/0.274, allocations: 144.1 kB / 408.7 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.2741, allocations: 28.34 kB / 408.7 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.2743, allocations: 290.9 kB / 409 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2743, allocations: 2.281 kB / 409 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.2743, allocations: 0 / 409 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000135/0.2745, allocations: 452.6 kB / 409.5 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.2748, allocations: 411.2 kB / 409.9 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.2748, allocations: 2.406 kB / 409.9 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.2749, allocations: 57.48 kB / 409.9 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.704e-05/0.275, allocations: 31.11 kB / 410 MB, free: 1.422 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.275, allocations: 6.25 kB / 410 MB, free: 1.422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002611/0.2753, allocations: 1.154 MB / 411.1 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2753, allocations: 2.031 kB / 411.1 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.2755, allocations: 317.6 kB / 411.4 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.2755, allocations: 23.39 kB / 411.5 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.2755, allocations: 6.312 kB / 411.5 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.2756, allocations: 10.36 kB / 411.5 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.2756, allocations: 19.09 kB / 411.5 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.2756, allocations: 18.17 kB / 411.5 MB, free: 24 kB / 330.7 MB Notification: Performance of sorting global known variables: time 4.903e-05/0.2757, allocations: 68.91 kB / 411.6 MB, free: 0 / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2757, allocations: 0 / 411.6 MB, free: 0 / 330.7 MB Notification: Performance of remove unused functions: time 0.0002882/0.276, allocations: 130.1 kB / 411.7 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.0002255/0.2762, allocations: 136.8 kB / 411.8 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003069/0.2765, allocations: 383.7 kB / 412.2 MB, free: 15.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.2765, allocations: 3.188 kB / 412.2 MB, free: 15.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.2766, allocations: 188.7 kB / 412.4 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.277, allocations: 144.9 kB / 412.5 MB, free: 15.42 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000819/0.2778, allocations: 0.5733 MB / 413.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.252e-05/0.2779, allocations: 97.7 kB / 413.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002008/0.2781, allocations: 86.2 kB / 413.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.2784, allocations: 189.6 kB / 413.5 MB, free: 14.81 MB / 346.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2784, allocations: 0 / 413.5 MB, free: 14.81 MB / 346.7 MB Notification: Performance of Templates: time 0.009052/0.2874, allocations: 8.865 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.IdealGases.Air.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_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/Air/Air.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.0959574966691434]