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.001494/0.001494, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.001553/0.001553, allocations: 169.1 kB / 25.33 MB, free: 7.711 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.894/0.894, allocations: 158.6 MB / 187.2 MB, free: 2.938 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 2.174e-06/2.174e-06, allocations: 0 / 251.1 MB, free: 7.457 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.892e-05, allocations: 2.312 kB / 251.1 MB, free: 7.453 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2479/0.2479, allocations: 145.6 MB / 396.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008569/0.2488, allocations: 0.8227 MB / 397.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.2489, allocations: 6.312 kB / 397.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004191/0.2493, allocations: 123.7 kB / 397.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004318/0.2498, allocations: 393.1 kB / 398 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006528/0.2504, allocations: 483.9 kB / 398.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006533/0.2511, allocations: 1.188 MB / 399.7 MB, free: 9.859 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.2513, allocations: 168.6 kB / 399.8 MB, free: 9.844 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.253, allocations: 1.468 MB / 401.3 MB, free: 9.438 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003236/0.2533, allocations: 391 kB / 401.7 MB, free: 9.316 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.317e-05/0.2534, allocations: 65.81 kB / 401.7 MB, free: 9.316 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003555/0.2538, allocations: 250.5 kB / 402 MB, free: 9.262 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.254, allocations: 470.9 kB / 402.4 MB, free: 9.125 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.2542, allocations: 384 kB / 402.8 MB, free: 9.062 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007076/0.2549, allocations: 1.021 MB / 403.8 MB, free: 8.746 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2549, allocations: 0 / 403.8 MB, free: 8.746 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2549, allocations: 0 / 403.8 MB, free: 8.746 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.2549, allocations: 4 kB / 403.8 MB, free: 8.742 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001063/0.256, allocations: 1.097 MB / 404.9 MB, free: 8.035 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.256, allocations: 12.2 kB / 404.9 MB, free: 8.031 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000482/0.2565, allocations: 245.6 kB / 405.2 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.2569, allocations: 408.5 kB / 405.6 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.2569, allocations: 48.34 kB / 405.6 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.342e-05/0.257, allocations: 82.38 kB / 405.7 MB, free: 7.695 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006726/0.2577, allocations: 1.116 MB / 406.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.2577, allocations: 10.45 kB / 406.8 MB, free: 6.762 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.572e-05/0.2578, allocations: 28.34 kB / 406.9 MB, free: 6.762 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/0.2578, allocations: 48.3 kB / 406.9 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.2582, allocations: 338.1 kB / 407.2 MB, free: 6.68 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.002319/0.2606, allocations: 1.862 MB / 409.1 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.2609, allocations: 359.2 kB / 409.5 MB, free: 5.812 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.2611, allocations: 178.8 kB / 409.6 MB, free: 5.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.2612, allocations: 21.66 kB / 409.6 MB, free: 5.766 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.2612, allocations: 46.61 kB / 409.7 MB, free: 5.719 MB / 330.7 MB Notification: Performance of pre-optimization done (n=59): time 2.224e-06/0.2612, allocations: 0 / 409.7 MB, free: 5.719 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.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.005611/0.2668, allocations: 3.1 MB / 412.8 MB, free: 4.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.2668, allocations: 61.09 kB / 412.9 MB, free: 4.523 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.267, allocations: 335.8 kB / 413.2 MB, free: 4.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.2671, allocations: 45.88 kB / 413.2 MB, free: 4.285 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2672, allocations: 344.9 kB / 413.6 MB, free: 4.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.2673, allocations: 268.1 kB / 413.8 MB, free: 3.828 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.2674, allocations: 152.5 kB / 414 MB, free: 3.785 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.456e-05/0.2675, allocations: 0.5295 MB / 414.5 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.2678, allocations: 174 kB / 414.7 MB, free: 3.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.268, allocations: 277.3 kB / 414.9 MB, free: 3.137 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005186/0.2685, allocations: 496.2 kB / 415.4 MB, free: 3.023 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2686, allocations: 0 / 415.4 MB, free: 3.023 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008249/0.2694, allocations: 0.7453 MB / 416.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2694, allocations: 5.531 kB / 416.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2694, allocations: 6.781 kB / 416.2 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002693/0.2697, allocations: 177.2 kB / 416.4 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.2702, allocations: 183.9 kB / 416.5 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004528/0.2747, allocations: 12.98 MB / 429.5 MB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.2749, allocations: 25.83 kB / 429.5 MB, free: 5.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.183e-05/0.275, allocations: 45.55 kB / 429.6 MB, free: 5.477 MB / 346.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.000209/0.2752, allocations: 199.4 kB / 429.8 MB, free: 5.301 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.2753, allocations: 74.81 kB / 429.9 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009266/0.2762, allocations: 0.8086 MB / 430.7 MB, free: 4.875 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.2762, allocations: 12.69 kB / 430.7 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.2762, allocations: 0 / 430.7 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008076/0.277, allocations: 1.176 MB / 431.9 MB, free: 3.875 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.2786, allocations: 1.494 MB / 433.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2787, allocations: 10.66 kB / 433.4 MB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005653/0.2792, allocations: 215.2 kB / 433.6 MB, free: 2.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/0.2793, allocations: 49.83 kB / 433.6 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/0.2794, allocations: 38.56 kB / 433.7 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007922/0.2802, allocations: 1.761 MB / 435.4 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2802, allocations: 0 / 435.4 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.2812, allocations: 1.015 MB / 436.4 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.2813, allocations: 47.7 kB / 436.5 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/0.2813, allocations: 27.98 kB / 436.5 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.2816, allocations: 35.97 kB / 436.5 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.825e-05/0.2817, allocations: 64.48 kB / 436.6 MB, free: 340 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-05/0.2818, allocations: 55.95 kB / 436.7 MB, free: 284 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001473/0.2819, allocations: 237.1 kB / 436.9 MB, free: 44 kB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2819, allocations: 4 kB / 436.9 MB, free: 40 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007871/0.2827, allocations: 315.9 kB / 437.2 MB, free: 15.73 MB / 362.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.0007481/0.2834, allocations: 416 kB / 437.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.2846, allocations: 1.72 MB / 439.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.2846, allocations: 7.859 kB / 439.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004099/0.2851, allocations: 498.3 kB / 439.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008845/0.2859, allocations: 375.9 kB / 440.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.2885, allocations: 1.709 MB / 441.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.2886, allocations: 200.2 kB / 442.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004245/0.2891, allocations: 204.5 kB / 442.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.2893, allocations: 80.47 kB / 442.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2893, allocations: 0 / 442.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of Templates: time 0.02439/0.3136, allocations: 24.63 MB / 467 MB, free: 1.703 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: 3.887670325115323]