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.0009677/0.0009677, allocations: 85.95 kB / 22.21 MB, free: 2.285 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.001297/0.001297, allocations: 162.5 kB / 25.6 MB, free: 8.91 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.9862/0.9862, allocations: 158.6 MB / 187.5 MB, free: 2.77 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.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.863e-06/1.863e-06, allocations: 0 / 251.5 MB, free: 7.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.942e-05, allocations: 2.312 kB / 251.5 MB, free: 7.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.311/0.311, allocations: 142.9 MB / 394.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.3124, allocations: 0.8209 MB / 395.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.3127, allocations: 5.938 kB / 395.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.3131, allocations: 120.8 kB / 395.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008276/0.314, allocations: 394.1 kB / 395.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009123/0.3149, allocations: 480.5 kB / 396.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.3161, allocations: 1.198 MB / 397.4 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.3164, allocations: 72.72 kB / 397.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002888/0.3193, allocations: 1.427 MB / 398.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004963/0.3197, allocations: 318.1 kB / 399.2 MB, free: 9.992 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.3199, allocations: 44.28 kB / 399.3 MB, free: 9.992 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005634/0.3204, allocations: 231.8 kB / 399.5 MB, free: 9.934 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.3206, allocations: 245.6 kB / 399.7 MB, free: 9.859 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.3208, allocations: 246.1 kB / 400 MB, free: 9.816 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008413/0.3217, allocations: 0.7236 MB / 400.7 MB, free: 9.586 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3217, allocations: 0 / 400.7 MB, free: 9.586 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3217, allocations: 0 / 400.7 MB, free: 9.586 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.3217, allocations: 0 / 400.7 MB, free: 9.586 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.0009173/0.3226, allocations: 0.8336 MB / 401.5 MB, free: 8.992 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3226, allocations: 15.22 kB / 401.6 MB, free: 8.988 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004965/0.3231, allocations: 178.6 kB / 401.7 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.3236, allocations: 309.7 kB / 402 MB, free: 8.703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.3236, allocations: 28.69 kB / 402.1 MB, free: 8.703 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.062e-05/0.3237, allocations: 49.34 kB / 402.1 MB, free: 8.703 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/0.3242, allocations: 0.9547 MB / 403.1 MB, free: 7.773 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.3242, allocations: 3.938 kB / 403.1 MB, free: 7.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/0.3242, allocations: 23.03 kB / 403.1 MB, free: 7.766 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.3242, allocations: 10.81 kB / 403.1 MB, free: 7.766 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.3244, allocations: 152.5 kB / 403.3 MB, free: 7.723 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.002045/0.3264, allocations: 1.507 MB / 404.8 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.3266, allocations: 107.5 kB / 404.9 MB, free: 6.766 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.812e-05/0.3266, allocations: 41.56 kB / 404.9 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.3267, allocations: 5.156 kB / 404.9 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.3267, allocations: 47.83 kB / 405 MB, free: 6.699 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 2.003e-06/0.3267, allocations: 0 / 405 MB, free: 6.699 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.002768/0.3295, allocations: 1.111 MB / 406.1 MB, free: 6.062 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.618e-05/0.3295, allocations: 54.41 kB / 406.1 MB, free: 6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.3297, allocations: 481.5 kB / 406.6 MB, free: 5.734 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.3298, allocations: 31.7 kB / 406.6 MB, free: 5.703 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.3299, allocations: 394.4 kB / 407 MB, free: 5.406 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.3299, allocations: 91.02 kB / 407.1 MB, free: 5.344 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.3301, allocations: 135.9 kB / 407.2 MB, free: 5.305 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.3302, allocations: 0.5277 MB / 407.8 MB, free: 4.801 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/0.3302, allocations: 59.91 kB / 407.8 MB, free: 4.781 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.3304, allocations: 499.8 kB / 408.3 MB, free: 4.199 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.3308, allocations: 0.5953 MB / 408.9 MB, free: 3.578 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3308, allocations: 7.016 kB / 408.9 MB, free: 3.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005306/0.3313, allocations: 0.5121 MB / 409.4 MB, free: 3.367 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.3313, allocations: 11.53 kB / 409.4 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3313, allocations: 12.27 kB / 409.4 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001273/0.3315, allocations: 59.62 kB / 409.5 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.3317, allocations: 138.2 kB / 409.6 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.3329, allocations: 3.516 MB / 413.1 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.3331, allocations: 20.56 kB / 413.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.3332, allocations: 33.97 kB / 413.2 MB, free: 15.77 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.0001432/0.3333, allocations: 202.9 kB / 413.4 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.3334, allocations: 48.45 kB / 413.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.3336, allocations: 231.3 kB / 413.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3336, allocations: 0 / 413.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.3336, allocations: 2.406 kB / 413.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002804/0.3339, allocations: 492.8 kB / 414.2 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005654/0.3345, allocations: 0.5393 MB / 414.7 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3345, allocations: 2.656 kB / 414.7 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.3346, allocations: 46.59 kB / 414.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-05/0.3347, allocations: 27.72 kB / 414.8 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3347, allocations: 6 kB / 414.8 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007673/0.3355, allocations: 1.702 MB / 416.5 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3355, allocations: 2.812 kB / 416.5 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.3358, allocations: 391.6 kB / 416.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.3359, allocations: 35.25 kB / 416.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.3359, allocations: 3.188 kB / 416.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.336, allocations: 8.938 kB / 416.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.3361, allocations: 16.84 kB / 416.9 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.3361, allocations: 15.45 kB / 416.9 MB, free: 12.58 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001494/0.3362, allocations: 270.7 kB / 417.2 MB, free: 12.42 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3362, allocations: 0 / 417.2 MB, free: 12.42 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005763/0.3368, allocations: 200.2 kB / 417.4 MB, free: 12.4 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.0006905/0.3375, allocations: 382.7 kB / 417.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005225/0.338, allocations: 0.5841 MB / 418.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.338, allocations: 2.75 kB / 418.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.3382, allocations: 242.1 kB / 418.6 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.3387, allocations: 196.7 kB / 418.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.3401, allocations: 0.7519 MB / 419.5 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.793e-05/0.3402, allocations: 119.7 kB / 419.7 MB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002356/0.3404, allocations: 86.91 kB / 419.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.3407, allocations: 235 kB / 420 MB, free: 10.75 MB / 346.7 MB Notification: Performance of SimCode: time 7.22e-07/0.3407, allocations: 4 kB / 420 MB, free: 10.75 MB / 346.7 MB Notification: Performance of Templates: time 0.01677/0.3575, allocations: 13.05 MB / 433 MB, free: 0.9141 MB / 346.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2884371438995004]