Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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.001415/0.001415, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001515/0.001515, allocations: 167.7 kB / 25.33 MB, free: 9.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.8971/0.8971, allocations: 158.6 MB / 187.2 MB, free: 2.551 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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 251.1 MB, free: 3.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.73e-05, allocations: 2.312 kB / 251.1 MB, free: 3.543 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2464/0.2464, allocations: 145.6 MB / 396.7 MB, free: 6.43 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.2476, allocations: 0.8131 MB / 397.5 MB, free: 5.633 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.2478, allocations: 7.938 kB / 397.5 MB, free: 5.625 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.2483, allocations: 123.3 kB / 397.6 MB, free: 5.504 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005385/0.2488, allocations: 397.7 kB / 398 MB, free: 5.113 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008745/0.2497, allocations: 482.7 kB / 398.5 MB, free: 4.641 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009852/0.2507, allocations: 1.192 MB / 399.7 MB, free: 3.445 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002542/0.2509, allocations: 170.1 kB / 399.8 MB, free: 3.281 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002234/0.2532, allocations: 1.468 MB / 401.3 MB, free: 1.809 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003938/0.2536, allocations: 379 kB / 401.7 MB, free: 1.438 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.788e-05/0.2537, allocations: 68 kB / 401.7 MB, free: 1.371 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004568/0.2541, allocations: 255.4 kB / 402 MB, free: 1.121 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000278/0.2544, allocations: 463.1 kB / 402.4 MB, free: 0.668 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002981/0.2547, allocations: 391.3 kB / 402.8 MB, free: 292 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008665/0.2556, allocations: 1.021 MB / 403.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2556, allocations: 0 / 403.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2556, allocations: 0 / 403.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.2556, allocations: 0 / 403.8 MB, free: 15.26 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001197/0.2568, allocations: 1.096 MB / 404.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.2568, allocations: 15.98 kB / 404.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005208/0.2573, allocations: 240.1 kB / 405.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005588/0.2579, allocations: 411 kB / 405.6 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.2579, allocations: 45.69 kB / 405.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.714e-05/0.258, allocations: 88.33 kB / 405.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008824/0.2589, allocations: 1.121 MB / 406.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.2589, allocations: 7.938 kB / 406.8 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.104e-05/0.259, allocations: 32 kB / 406.9 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.533e-05/0.259, allocations: 37.98 kB / 406.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004826/0.2595, allocations: 343.8 kB / 407.2 MB, free: 11.62 MB / 346.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.002587/0.2621, allocations: 1.857 MB / 409.1 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.2625, allocations: 366.7 kB / 409.5 MB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.2627, allocations: 173.6 kB / 409.6 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.2627, allocations: 16.48 kB / 409.6 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.2628, allocations: 53.83 kB / 409.7 MB, free: 9.105 MB / 346.7 MB Notification: Performance of pre-optimization done (n=59): time 1.633e-06/0.2628, allocations: 0 / 409.7 MB, free: 9.105 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.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.006206/0.269, allocations: 3.092 MB / 412.8 MB, free: 5.918 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.269, allocations: 60.06 kB / 412.8 MB, free: 5.848 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.2693, allocations: 344.2 kB / 413.2 MB, free: 5.496 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/0.2693, allocations: 41.7 kB / 413.2 MB, free: 5.449 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.2695, allocations: 347.5 kB / 413.6 MB, free: 5.102 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.2696, allocations: 269.8 kB / 413.8 MB, free: 4.836 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.2698, allocations: 148.3 kB / 414 MB, free: 4.684 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2699, allocations: 0.5352 MB / 414.5 MB, free: 4.137 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.2702, allocations: 169.9 kB / 414.7 MB, free: 3.973 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/0.2705, allocations: 277 kB / 414.9 MB, free: 3.676 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005908/0.2711, allocations: 488.6 kB / 415.4 MB, free: 3.176 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2711, allocations: 4 kB / 415.4 MB, free: 3.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009367/0.272, allocations: 0.7446 MB / 416.2 MB, free: 2.383 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.272, allocations: 7.938 kB / 416.2 MB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.272, allocations: 7.938 kB / 416.2 MB, free: 2.367 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/0.2723, allocations: 181.5 kB / 416.4 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/0.2728, allocations: 179.8 kB / 416.5 MB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005062/0.2779, allocations: 12.98 MB / 429.5 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.2781, allocations: 27.92 kB / 429.5 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.118e-05/0.2781, allocations: 43.98 kB / 429.6 MB, free: 4.043 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * 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): 8 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00017/0.2783, allocations: 204.4 kB / 429.8 MB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.2784, allocations: 71.72 kB / 429.8 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009654/0.2794, allocations: 0.8114 MB / 430.7 MB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.2794, allocations: 11.94 kB / 430.7 MB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.2794, allocations: 0 / 430.7 MB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008808/0.2803, allocations: 1.175 MB / 431.8 MB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.2819, allocations: 1.497 MB / 433.3 MB, free: 4 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2819, allocations: 3.938 kB / 433.3 MB, free: 0 / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005925/0.2825, allocations: 215.7 kB / 433.6 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.2826, allocations: 51.62 kB / 433.6 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.489e-05/0.2827, allocations: 39.97 kB / 433.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008059/0.2835, allocations: 1.763 MB / 435.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.2835, allocations: 3.984 kB / 435.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.2846, allocations: 1.009 MB / 436.4 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.2846, allocations: 47.7 kB / 436.5 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.2847, allocations: 24 kB / 436.5 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.2849, allocations: 40.03 kB / 436.5 MB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.285, allocations: 60.48 kB / 436.6 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.067e-05/0.2851, allocations: 63.94 kB / 436.7 MB, free: 12.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001436/0.2852, allocations: 233.1 kB / 436.9 MB, free: 12.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2852, allocations: 0 / 436.9 MB, free: 12.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006223/0.2858, allocations: 311.8 kB / 437.2 MB, free: 12 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (77): * Single equations (assignments): 76 * 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.00076/0.2866, allocations: 422.9 kB / 437.6 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.2879, allocations: 1.72 MB / 439.3 MB, free: 9.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.2879, allocations: 0 / 439.3 MB, free: 9.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.2884, allocations: 0.4909 MB / 439.8 MB, free: 9.219 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009113/0.2893, allocations: 375.9 kB / 440.2 MB, free: 8.855 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.2917, allocations: 1.723 MB / 441.9 MB, free: 7.082 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.2918, allocations: 200.2 kB / 442.1 MB, free: 6.867 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004091/0.2922, allocations: 208.5 kB / 442.3 MB, free: 6.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.2924, allocations: 84.47 kB / 442.4 MB, free: 6.578 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.2924, allocations: 0 / 442.4 MB, free: 6.578 MB / 378.7 MB Notification: Performance of Templates: time 0.173/0.4654, allocations: 22.08 MB / 464.5 MB, free: 46.05 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_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/SimpleNaturalGas/SimpleNaturalGas.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: 4.0245319521054626]