Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.001294/0.001294, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001912/0.003206, 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.001135/0.001135, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00152/0.002655, 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.8968/0.8968, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1299/1.027, 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.SimpleNaturalGasFixedComposition,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.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,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.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 222 MB, free: 16 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.025e-05, allocations: 2.312 kB / 222 MB, free: 12 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2521/0.2521, allocations: 145.5 MB / 367.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.2533, allocations: 0.8405 MB / 368.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.2534, allocations: 7.938 kB / 368.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.2538, allocations: 122 kB / 368.5 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004421/0.2542, allocations: 397.6 kB / 368.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007554/0.255, allocations: 474.7 kB / 369.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008529/0.2558, allocations: 1.208 MB / 370.5 MB, free: 10.4 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.256, allocations: 70.86 kB / 370.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.2582, allocations: 1.428 MB / 372 MB, free: 8.895 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004391/0.2587, allocations: 295.1 kB / 372.3 MB, free: 8.605 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.242e-05/0.2588, allocations: 44 kB / 372.3 MB, free: 8.562 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004673/0.2592, allocations: 227.6 kB / 372.6 MB, free: 8.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.2594, allocations: 199.5 kB / 372.8 MB, free: 8.145 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.2596, allocations: 191.8 kB / 372.9 MB, free: 7.957 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006378/0.2602, allocations: 0.6465 MB / 373.6 MB, free: 7.309 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.2602, allocations: 0 / 373.6 MB, free: 7.309 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2602, allocations: 4 kB / 373.6 MB, free: 7.305 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.2602, allocations: 0 / 373.6 MB, free: 7.305 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008766/0.2611, allocations: 0.827 MB / 374.4 MB, free: 6.453 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.2611, allocations: 8.031 kB / 374.4 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004481/0.2616, allocations: 253.5 kB / 374.7 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.2619, allocations: 272.5 kB / 374.9 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.262, allocations: 29.56 kB / 375 MB, free: 5.863 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.577e-05/0.262, allocations: 51.94 kB / 375 MB, free: 5.812 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006388/0.2627, allocations: 0.948 MB / 376 MB, free: 4.695 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.2627, allocations: 0 / 376 MB, free: 4.695 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.387e-05/0.2627, allocations: 21.25 kB / 376 MB, free: 4.676 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.2628, allocations: 8 kB / 376 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.2629, allocations: 144 kB / 376.1 MB, free: 4.531 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.001568/0.2645, allocations: 1.173 MB / 377.3 MB, free: 3.328 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.2646, allocations: 94.48 kB / 377.4 MB, free: 3.227 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.2647, allocations: 47.5 kB / 377.5 MB, free: 3.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.2647, allocations: 4 kB / 377.5 MB, free: 3.176 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.2647, allocations: 34.56 kB / 377.5 MB, free: 3.133 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.2647, allocations: 0 / 377.5 MB, free: 3.133 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=23): time 0.00287/0.2676, allocations: 1.082 MB / 378.6 MB, free: 1.973 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.2676, allocations: 55.41 kB / 378.6 MB, free: 1.906 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.2678, allocations: 378.9 kB / 379 MB, free: 1.523 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.2679, allocations: 25.7 kB / 379 MB, free: 1.492 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.268, allocations: 315.7 kB / 379.3 MB, free: 1.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.268, allocations: 87.27 kB / 379.4 MB, free: 1.094 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-05/0.2681, allocations: 122.2 kB / 379.5 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.729e-05/0.2682, allocations: 354.7 kB / 379.9 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.808e-05/0.2683, allocations: 49.28 kB / 379.9 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.2684, allocations: 356.8 kB / 380.3 MB, free: 76 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.2688, allocations: 0.4959 MB / 380.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.2688, allocations: 4 kB / 380.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0003819/0.2692, allocations: 431.1 kB / 381.2 MB, free: 15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2692, allocations: 8 kB / 381.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2692, allocations: 12 kB / 381.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001305/0.2693, allocations: 53.67 kB / 381.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.2697, allocations: 168.1 kB / 381.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.2709, allocations: 2.425 MB / 383.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.2711, allocations: 24 kB / 383.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.2711, allocations: 35.98 kB / 383.9 MB, free: 12.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (73): * Single equations (assignments): 71 * 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 0.0001124/0.2712, allocations: 156.4 kB / 384.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.2712, allocations: 27.97 kB / 384.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.2714, allocations: 195 kB / 384.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2714, allocations: 0 / 384.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.2714, allocations: 7.938 kB / 384.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000197/0.2716, allocations: 440.5 kB / 384.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006702/0.2723, allocations: 415.1 kB / 385.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2723, allocations: 4 kB / 385.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.2725, allocations: 75.86 kB / 385.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.2725, allocations: 35.8 kB / 385.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.444e-05/0.2726, allocations: 16.84 kB / 385.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.2726, allocations: 11.94 kB / 385.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005134/0.2731, allocations: 1.154 MB / 386.4 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2731, allocations: 0 / 386.4 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.2734, allocations: 288.8 kB / 386.7 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.2734, allocations: 8 kB / 386.7 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.2735, allocations: 8 kB / 386.7 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.2736, allocations: 11.97 kB / 386.7 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.2736, allocations: 15.98 kB / 386.8 MB, free: 9.008 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.682e-05/0.2737, allocations: 132.8 kB / 386.9 MB, free: 8.883 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2737, allocations: 4 kB / 386.9 MB, free: 8.879 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004448/0.2741, allocations: 199.8 kB / 387.1 MB, free: 8.684 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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.0005476/0.2747, allocations: 302 kB / 387.4 MB, free: 8.379 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003733/0.275, allocations: 478.7 kB / 387.8 MB, free: 7.887 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.742e-05/0.2751, allocations: 16.48 kB / 387.9 MB, free: 7.871 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.2752, allocations: 191.3 kB / 388 MB, free: 7.668 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000762/0.2759, allocations: 1.155 MB / 389.2 MB, free: 6.301 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004181/0.2801, allocations: 0.7348 MB / 389.9 MB, free: 5.531 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.593e-05/0.2802, allocations: 133.1 kB / 390.1 MB, free: 5.379 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.2804, allocations: 84.47 kB / 390.1 MB, free: 5.297 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/0.2807, allocations: 193.2 kB / 390.3 MB, free: 5.105 MB / 346.7 MB Notification: Performance of SimCode: time 6.22e-07/0.2807, allocations: 0 / 390.3 MB, free: 5.105 MB / 346.7 MB Notification: Performance of Templates: time 0.01325/0.294, allocations: 12.69 MB / 403 MB, free: 8.41 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_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/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.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.200792827643454]