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.001013/0.001013, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001095/0.001095, allocations: 173.9 kB / 25.33 MB, free: 9.457 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.8876/0.8876, allocations: 158.6 MB / 187.2 MB, free: 2.496 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.292e-06/1.292e-06, allocations: 0 / 251.1 MB, free: 3.535 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.696e-05, allocations: 2.312 kB / 251.1 MB, free: 3.531 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.2289/0.229, allocations: 145.2 MB / 396.3 MB, free: 6.336 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.23, allocations: 0.6923 MB / 397 MB, free: 5.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.2301, allocations: 7.938 kB / 397 MB, free: 5.652 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003664/0.2305, allocations: 95.41 kB / 397.1 MB, free: 5.559 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005663/0.231, allocations: 401.5 kB / 397.5 MB, free: 5.164 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005799/0.2316, allocations: 363.2 kB / 397.8 MB, free: 4.809 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007266/0.2323, allocations: 0.9386 MB / 398.8 MB, free: 3.867 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.2325, allocations: 80.81 kB / 398.9 MB, free: 3.789 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.2339, allocations: 0.919 MB / 399.8 MB, free: 2.867 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.2342, allocations: 243.2 kB / 400 MB, free: 2.629 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.374e-05/0.2342, allocations: 35.98 kB / 400.1 MB, free: 2.594 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.2344, allocations: 119.8 kB / 400.2 MB, free: 2.477 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.974e-05/0.2345, allocations: 103.6 kB / 400.3 MB, free: 2.375 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.2347, allocations: 135.8 kB / 400.4 MB, free: 2.242 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.2351, allocations: 382.9 kB / 400.8 MB, free: 1.867 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2351, allocations: 0 / 400.8 MB, free: 1.867 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2351, allocations: 0 / 400.8 MB, free: 1.867 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.2351, allocations: 4 kB / 400.8 MB, free: 1.863 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.0007184/0.2358, allocations: 0.6136 MB / 401.4 MB, free: 1.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.2359, allocations: 15.98 kB / 401.4 MB, free: 1.199 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.2361, allocations: 84.44 kB / 401.5 MB, free: 1.117 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.2364, allocations: 236.1 kB / 401.7 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.2364, allocations: 24.88 kB / 401.8 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.2365, allocations: 28.56 kB / 401.8 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/0.2369, allocations: 0.5019 MB / 402.3 MB, free: 220 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.2369, allocations: 4 kB / 402.3 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.2369, allocations: 12 kB / 402.3 MB, free: 204 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.2369, allocations: 4 kB / 402.3 MB, free: 200 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.2371, allocations: 134.8 kB / 402.4 MB, free: 64 kB / 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.001268/0.2384, allocations: 1.458 MB / 403.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.2386, allocations: 131.6 kB / 404 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.736e-05/0.2387, allocations: 67.58 kB / 404.1 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.2387, allocations: 7.984 kB / 404.1 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.2387, allocations: 41.39 kB / 404.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/0.2387, allocations: 0 / 404.1 MB, free: 14.27 MB / 346.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.002922/0.2416, allocations: 1.066 MB / 405.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.2417, allocations: 59.39 kB / 405.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.2418, allocations: 274.6 kB / 405.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.2419, allocations: 29.7 kB / 405.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.209e-05/0.2419, allocations: 231.1 kB / 405.8 MB, free: 12.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.242, allocations: 99.16 kB / 405.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.803e-05/0.2421, allocations: 79.34 kB / 406 MB, free: 12.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2422, allocations: 0.5079 MB / 406.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.04e-05/0.2423, allocations: 47.97 kB / 406.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.2424, allocations: 195.3 kB / 406.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.2427, allocations: 275.3 kB / 407 MB, free: 11.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2427, allocations: 4 kB / 407 MB, free: 11.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003697/0.243, allocations: 328.5 kB / 407.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2431, allocations: 4 kB / 407.3 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.2431, allocations: 8.859 kB / 407.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001395/0.2432, allocations: 59.7 kB / 407.4 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.2434, allocations: 87.89 kB / 407.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.2447, allocations: 2.549 MB / 410 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.888e-05/0.2448, allocations: 11.94 kB / 410 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.2448, allocations: 40.17 kB / 410.1 MB, free: 7.934 MB / 346.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.0001049/0.2449, allocations: 184.4 kB / 410.2 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.245, allocations: 27.86 kB / 410.3 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004278/0.2454, allocations: 358.6 kB / 410.6 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2454, allocations: 7.984 kB / 410.6 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.2454, allocations: 0 / 410.6 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002834/0.2457, allocations: 0.4993 MB / 411.1 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.2463, allocations: 0.6055 MB / 411.7 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2463, allocations: 4.031 kB / 411.7 MB, free: 6.086 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.2465, allocations: 63.91 kB / 411.8 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.963e-05/0.2466, allocations: 19.67 kB / 411.8 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.2466, allocations: 15.98 kB / 411.8 MB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006997/0.2473, allocations: 1.727 MB / 413.5 MB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2473, allocations: 0 / 413.5 MB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.2477, allocations: 434.5 kB / 414 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.2477, allocations: 23.84 kB / 414 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.2477, allocations: 4 kB / 414 MB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.2478, allocations: 11.94 kB / 414 MB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.2479, allocations: 27.83 kB / 414 MB, free: 3.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.2479, allocations: 19.98 kB / 414.1 MB, free: 3.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.36e-05/0.248, allocations: 197.1 kB / 414.3 MB, free: 3.395 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.248, allocations: 4.094 kB / 414.3 MB, free: 3.391 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003154/0.2483, allocations: 123.9 kB / 414.4 MB, free: 3.27 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.0002724/0.2486, allocations: 151.1 kB / 414.5 MB, free: 3.113 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004084/0.249, allocations: 368.3 kB / 414.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.249, allocations: 4 kB / 414.9 MB, free: 2.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.2491, allocations: 254.1 kB / 415.1 MB, free: 2.461 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007443/0.2499, allocations: 149.4 kB / 415.3 MB, free: 2.324 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.2509, allocations: 0.6167 MB / 415.9 MB, free: 1.668 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.406e-05/0.2509, allocations: 96.48 kB / 416 MB, free: 1.555 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002108/0.2512, allocations: 90.92 kB / 416.1 MB, free: 1.469 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.948e-05/0.2513, allocations: 56.48 kB / 416.1 MB, free: 1.414 MB / 346.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2513, allocations: 0 / 416.1 MB, free: 1.414 MB / 346.7 MB Notification: Performance of Templates: time 0.009565/0.2608, allocations: 8.464 MB / 424.6 MB, free: 8.973 MB / 362.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: 3.0003235447220504]