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.0009952/0.0009952, allocations: 75.75 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.0009478/0.0009478, allocations: 165.1 kB / 25.33 MB, free: 9.469 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.9226/0.9226, allocations: 158.6 MB / 187.2 MB, free: 2.531 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.613e-06/1.613e-06, allocations: 0 / 251.1 MB, free: 3.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.251e-05, allocations: 2.312 kB / 251.1 MB, free: 3.539 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.2602/0.2602, allocations: 145.2 MB / 396.3 MB, free: 6.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009462/0.2612, allocations: 0.6962 MB / 397 MB, free: 5.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.2613, allocations: 11.94 kB / 397 MB, free: 5.648 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005437/0.2619, allocations: 91.36 kB / 397.1 MB, free: 5.559 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005714/0.2624, allocations: 389.6 kB / 397.5 MB, free: 5.176 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.263, allocations: 375.1 kB / 397.8 MB, free: 4.809 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006221/0.2636, allocations: 0.9424 MB / 398.8 MB, free: 3.863 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.2638, allocations: 68.89 kB / 398.9 MB, free: 3.797 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.2651, allocations: 0.9152 MB / 399.8 MB, free: 2.879 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.2653, allocations: 255.2 kB / 400 MB, free: 2.629 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.158e-05/0.2654, allocations: 32 kB / 400.1 MB, free: 2.598 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.2656, allocations: 119.8 kB / 400.2 MB, free: 2.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.445e-05/0.2657, allocations: 103.6 kB / 400.3 MB, free: 2.379 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.2658, allocations: 139.7 kB / 400.4 MB, free: 2.242 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.2661, allocations: 375 kB / 400.8 MB, free: 1.875 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2661, allocations: 0 / 400.8 MB, free: 1.875 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2661, allocations: 0 / 400.8 MB, free: 1.875 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.2661, allocations: 0 / 400.8 MB, free: 1.875 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.0006081/0.2667, allocations: 0.633 MB / 401.4 MB, free: 1.207 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2668, allocations: 11.98 kB / 401.4 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/0.267, allocations: 84.44 kB / 401.5 MB, free: 1.113 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.2673, allocations: 236.1 kB / 401.7 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.2673, allocations: 12.88 kB / 401.7 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.2673, allocations: 32.56 kB / 401.8 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.2677, allocations: 0.502 MB / 402.3 MB, free: 224 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.2677, allocations: 3.938 kB / 402.3 MB, free: 220 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.2677, allocations: 12 kB / 402.3 MB, free: 208 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.2677, allocations: 4 kB / 402.3 MB, free: 204 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.2679, allocations: 134.8 kB / 402.4 MB, free: 68 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.001076/0.269, allocations: 1.458 MB / 403.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.2692, allocations: 132.3 kB / 404 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.311e-05/0.2693, allocations: 67.53 kB / 404.1 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.2693, allocations: 8 kB / 404.1 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.2693, allocations: 37.39 kB / 404.1 MB, free: 14.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.2693, allocations: 0 / 404.1 MB, free: 14.28 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.002778/0.2721, allocations: 1.07 MB / 405.2 MB, free: 13.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.2721, allocations: 55.41 kB / 405.3 MB, free: 13.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.2723, allocations: 274.6 kB / 405.5 MB, free: 12.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.2723, allocations: 33.7 kB / 405.6 MB, free: 12.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.247e-05/0.2724, allocations: 231.2 kB / 405.8 MB, free: 12.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.2724, allocations: 95.17 kB / 405.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.2725, allocations: 83.34 kB / 406 MB, free: 12.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.2726, allocations: 0.5001 MB / 406.5 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.781e-05/0.2727, allocations: 51.95 kB / 406.5 MB, free: 11.78 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.2728, allocations: 199.3 kB / 406.7 MB, free: 11.53 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.2731, allocations: 267.3 kB / 407 MB, free: 11.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2731, allocations: 0 / 407 MB, free: 11.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003679/0.2734, allocations: 344.4 kB / 407.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2735, allocations: 8 kB / 407.3 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2735, allocations: 0.875 kB / 407.3 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/0.2736, allocations: 63.69 kB / 407.4 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.2738, allocations: 83.89 kB / 407.4 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000997/0.2748, allocations: 2.549 MB / 410 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.671e-05/0.2749, allocations: 8 kB / 410 MB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.275, allocations: 32 kB / 410 MB, free: 7.949 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.0001039/0.2751, allocations: 188.5 kB / 410.2 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.2751, allocations: 35.84 kB / 410.3 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000431/0.2755, allocations: 353.6 kB / 410.6 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2755, allocations: 3.984 kB / 410.6 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.2755, allocations: 0 / 410.6 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002966/0.2758, allocations: 0.5072 MB / 411.1 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006917/0.2765, allocations: 0.6054 MB / 411.7 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2765, allocations: 4 kB / 411.7 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.2767, allocations: 71.83 kB / 411.8 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.289e-05/0.2768, allocations: 23.67 kB / 411.8 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.2768, allocations: 8 kB / 411.8 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006334/0.2774, allocations: 1.724 MB / 413.5 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2774, allocations: 4.125 kB / 413.5 MB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.2778, allocations: 434.5 kB / 414 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.2778, allocations: 19.86 kB / 414 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.2778, allocations: 8 kB / 414 MB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2779, allocations: 15.92 kB / 414 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.278, allocations: 19.83 kB / 414 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.278, allocations: 27.98 kB / 414.1 MB, free: 3.586 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.651e-05/0.2781, allocations: 189.1 kB / 414.2 MB, free: 3.398 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2781, allocations: 4 kB / 414.3 MB, free: 3.395 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003004/0.2784, allocations: 127.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.0002756/0.2787, allocations: 147.9 kB / 414.5 MB, free: 3.117 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004327/0.2791, allocations: 376.2 kB / 414.9 MB, free: 2.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2791, allocations: 0 / 414.9 MB, free: 2.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.2792, 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.0004701/0.2797, allocations: 150 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.0009802/0.2807, allocations: 0.604 MB / 415.9 MB, free: 1.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.838e-05/0.2808, allocations: 104.4 kB / 416 MB, free: 1.559 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002177/0.281, allocations: 86.94 kB / 416.1 MB, free: 1.477 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.641e-05/0.2811, allocations: 56.48 kB / 416.1 MB, free: 1.422 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2811, allocations: 0 / 416.1 MB, free: 1.422 MB / 346.7 MB Notification: Performance of Templates: time 0.009066/0.2901, allocations: 7.761 MB / 423.9 MB, free: 9.695 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.3410078892484307]