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.0007889/0.0007889, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001217/0.002006, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007298/0.0007298, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009819/0.001712, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.903/0.903, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1505/1.054, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.934e-06/1.934e-06, allocations: 0 / 222 MB, free: 20 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.449e-05, allocations: 2.312 kB / 222 MB, free: 16 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.2495/0.2495, allocations: 145 MB / 367 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.2506, allocations: 0.7201 MB / 367.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.2507, allocations: 11.94 kB / 367.8 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.2509, allocations: 99.36 kB / 367.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004932/0.2514, allocations: 393.6 kB / 368.3 MB, free: 12.19 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000592/0.252, allocations: 371.1 kB / 368.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007348/0.2527, allocations: 0.9425 MB / 369.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.2529, allocations: 70.86 kB / 369.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.2542, allocations: 0.9315 MB / 370.6 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.2545, allocations: 235.3 kB / 370.8 MB, free: 9.645 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.2545, allocations: 35.94 kB / 370.8 MB, free: 9.609 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.2548, allocations: 131.8 kB / 371 MB, free: 9.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.278e-05/0.2548, allocations: 71.78 kB / 371 MB, free: 9.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.574e-05/0.2549, allocations: 119.8 kB / 371.1 MB, free: 9.293 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.2553, allocations: 335 kB / 371.5 MB, free: 8.965 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.2553, allocations: 0 / 371.5 MB, free: 8.965 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2553, allocations: 0 / 371.5 MB, free: 8.965 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.2553, allocations: 0 / 371.5 MB, free: 8.965 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.0005891/0.2559, allocations: 0.5743 MB / 372 MB, free: 8.367 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.2559, allocations: 8.031 kB / 372.1 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.2561, allocations: 153.7 kB / 372.2 MB, free: 8.191 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.2564, allocations: 197.5 kB / 372.4 MB, free: 7.973 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.2564, allocations: 20.44 kB / 372.4 MB, free: 7.953 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.2564, allocations: 32 kB / 372.4 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.2567, allocations: 482.2 kB / 372.9 MB, free: 7.367 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2567, allocations: 0 / 372.9 MB, free: 7.367 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.2568, allocations: 12 kB / 372.9 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.2568, allocations: 4 kB / 372.9 MB, free: 7.352 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.2569, allocations: 99.3 kB / 373 MB, free: 7.258 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.0008619/0.2577, allocations: 0.988 MB / 374 MB, free: 6.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.2579, allocations: 108.1 kB / 374.1 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.844e-05/0.2579, allocations: 44.78 kB / 374.2 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.258, allocations: 8 kB / 374.2 MB, free: 6.062 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.258, allocations: 38.56 kB / 374.2 MB, free: 6.016 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.192e-06/0.258, allocations: 0 / 374.2 MB, free: 6.016 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.002056/0.26, allocations: 0.9196 MB / 375.1 MB, free: 5.043 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.2601, allocations: 59.34 kB / 375.2 MB, free: 4.973 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.2602, allocations: 204.7 kB / 375.4 MB, free: 4.762 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.2602, allocations: 33.7 kB / 375.4 MB, free: 4.723 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.2603, allocations: 173.3 kB / 375.6 MB, free: 4.551 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/0.2603, allocations: 99.14 kB / 375.7 MB, free: 4.453 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.207e-05/0.2604, allocations: 73.44 kB / 375.8 MB, free: 4.375 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.2605, allocations: 338.8 kB / 376.1 MB, free: 4.035 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.05e-05/0.2605, allocations: 27.98 kB / 376.1 MB, free: 4.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.055e-05/0.2606, allocations: 144 kB / 376.3 MB, free: 3.824 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.2608, allocations: 210.6 kB / 376.5 MB, free: 3.574 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2608, allocations: 4 kB / 376.5 MB, free: 3.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002514/0.2611, allocations: 234.8 kB / 376.7 MB, free: 3.328 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.2611, allocations: 8 kB / 376.7 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2611, allocations: 416 / 376.7 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001185/0.2612, allocations: 45.69 kB / 376.8 MB, free: 3.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.2615, allocations: 107.9 kB / 376.9 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.2627, allocations: 2.431 MB / 379.3 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.766e-05/0.2628, allocations: 12 kB / 379.3 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.2628, allocations: 20 kB / 379.3 MB, free: 0.5195 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.649e-05/0.2629, allocations: 140.5 kB / 379.5 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.2629, allocations: 23.92 kB / 379.5 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.2633, allocations: 275.5 kB / 379.7 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2633, allocations: 4 kB / 379.8 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2633, allocations: 0 / 379.8 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002454/0.2635, allocations: 456.7 kB / 380.2 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.2639, allocations: 412.9 kB / 380.6 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2639, allocations: 0 / 380.6 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.2642, allocations: 79.86 kB / 380.7 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.2642, allocations: 23.86 kB / 380.7 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.888e-05/0.2642, allocations: 24.84 kB / 380.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.2643, allocations: 7.984 kB / 380.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004515/0.2647, allocations: 1.15 MB / 381.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2647, allocations: 4.125 kB / 381.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.265, allocations: 309.8 kB / 382.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.265, allocations: 4 kB / 382.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.906e-05/0.2651, allocations: 8 kB / 382.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.2651, allocations: 19.91 kB / 382.2 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.2651, allocations: 19.98 kB / 382.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.739e-05/0.2652, allocations: 70.78 kB / 382.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2652, allocations: 0 / 382.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002919/0.2655, allocations: 119.8 kB / 382.4 MB, free: 13.14 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.0002378/0.2657, allocations: 128.3 kB / 382.6 MB, free: 13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003436/0.2661, allocations: 394.1 kB / 382.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/0.2661, allocations: 4 kB / 382.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.2662, allocations: 211.3 kB / 383.1 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005862/0.2668, allocations: 0.685 MB / 383.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/0.2709, allocations: 0.5792 MB / 384.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.091e-05/0.271, allocations: 100.6 kB / 384.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002231/0.2712, allocations: 82.92 kB / 384.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/0.2715, allocations: 177.2 kB / 384.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2715, allocations: 0 / 384.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of Templates: time 0.00987/0.2813, allocations: 8.558 MB / 393.3 MB, free: 2.035 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.023071245290339]