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.0008441/0.0008441, allocations: 91.61 kB / 22.18 MB, free: 2.383 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.0008423/0.0008423, allocations: 157.4 kB / 25.44 MB, free: 9.352 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.8454/0.8454, allocations: 158.6 MB / 187.2 MB, free: 3.059 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.333e-06/1.333e-06, allocations: 0 / 299.8 MB, free: 6.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.1e-05, allocations: 2.281 kB / 299.8 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2748/0.2748, allocations: 151.9 MB / 451.7 MB, free: 3.656 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.2774, allocations: 3.503 MB / 455.2 MB, free: 148 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.2776, allocations: 7.938 kB / 455.2 MB, free: 140 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007808/0.2783, allocations: 218.7 kB / 455.4 MB, free: 15.92 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004083/0.2788, allocations: 377.7 kB / 455.8 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007985/0.2796, allocations: 0.5733 MB / 456.4 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006272/0.2802, allocations: 1.107 MB / 457.5 MB, free: 13.87 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.2803, allocations: 73.94 kB / 457.5 MB, free: 13.8 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.282, allocations: 1.424 MB / 459 MB, free: 12.37 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.2822, allocations: 311.1 kB / 459.3 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.911e-05/0.2823, allocations: 48 kB / 459.3 MB, free: 12.02 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004986/0.2828, allocations: 422.9 kB / 459.7 MB, free: 11.61 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.2829, allocations: 251.3 kB / 460 MB, free: 11.36 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.2831, allocations: 247.6 kB / 460.2 MB, free: 11.12 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008111/0.2839, allocations: 1.142 MB / 461.4 MB, free: 9.973 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2839, allocations: 3.938 kB / 461.4 MB, free: 9.969 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2839, allocations: 0 / 461.4 MB, free: 9.969 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.2839, allocations: 0 / 461.4 MB, free: 9.969 MB / 394.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.0008567/0.2848, allocations: 0.7348 MB / 462.1 MB, free: 9.203 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.2848, allocations: 14 kB / 462.1 MB, free: 9.191 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003353/0.2851, allocations: 119.6 kB / 462.2 MB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.2857, allocations: 327.9 kB / 462.6 MB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.2858, allocations: 25 kB / 462.6 MB, free: 8.699 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.2858, allocations: 40 kB / 462.6 MB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006993/0.2865, allocations: 1.165 MB / 463.8 MB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.2865, allocations: 4 kB / 463.8 MB, free: 7.332 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.2866, allocations: 20 kB / 463.8 MB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.2866, allocations: 15.94 kB / 463.8 MB, free: 7.297 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000389/0.287, allocations: 438.4 kB / 464.2 MB, free: 6.871 MB / 394.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.001855/0.2888, allocations: 1.495 MB / 465.7 MB, free: 5.332 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.289, allocations: 138.5 kB / 465.9 MB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.642e-05/0.2891, allocations: 76.77 kB / 466 MB, free: 5.109 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.2891, allocations: 7.938 kB / 466 MB, free: 5.102 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.2891, allocations: 42.55 kB / 466 MB, free: 5.051 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.2891, allocations: 4 kB / 466 MB, free: 5.047 MB / 394.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.003122/0.2922, allocations: 1.449 MB / 467.5 MB, free: 3.523 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.2923, allocations: 55.41 kB / 467.5 MB, free: 3.457 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.2926, allocations: 485.1 kB / 468 MB, free: 2.977 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.2926, allocations: 29.7 kB / 468 MB, free: 2.941 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.2927, allocations: 323.3 kB / 468.3 MB, free: 2.617 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.2928, allocations: 95.2 kB / 468.4 MB, free: 2.523 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.559e-05/0.2929, allocations: 130.2 kB / 468.5 MB, free: 2.391 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.039e-05/0.293, allocations: 346.8 kB / 468.9 MB, free: 2.043 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.2931, allocations: 133.2 kB / 469 MB, free: 1.914 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005146/0.2936, allocations: 448.7 kB / 469.5 MB, free: 1.332 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.294, allocations: 0.605 MB / 470.1 MB, free: 0.582 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.294, allocations: 4 kB / 470.1 MB, free: 0.5781 MB / 394.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005786/0.2946, allocations: 0.6318 MB / 470.7 MB, free: 15.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.2946, allocations: 11.94 kB / 470.7 MB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.2946, allocations: 12 kB / 470.7 MB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001295/0.2948, allocations: 53.7 kB / 470.8 MB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.295, allocations: 144.3 kB / 470.9 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008369/0.2959, allocations: 1.82 MB / 472.7 MB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.296, allocations: 24 kB / 472.8 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.2961, allocations: 36 kB / 472.8 MB, free: 13.7 MB / 410.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.2962, allocations: 213.5 kB / 473 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.2963, allocations: 44.02 kB / 473 MB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.2966, allocations: 282.9 kB / 473.3 MB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.2966, allocations: 4 kB / 473.3 MB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.2966, allocations: 4 kB / 473.3 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002837/0.2969, allocations: 0.5241 MB / 473.9 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005364/0.2974, allocations: 0.5964 MB / 474.4 MB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2974, allocations: 0 / 474.4 MB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.2976, allocations: 51.91 kB / 474.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.814e-05/0.2976, allocations: 24.83 kB / 474.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.2976, allocations: 8 kB / 474.5 MB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004957/0.2981, allocations: 1.248 MB / 475.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2981, allocations: 0 / 475.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.2985, allocations: 431.6 kB / 476.2 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.2985, allocations: 43.73 kB / 476.2 MB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.2985, allocations: 0 / 476.2 MB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.2986, allocations: 8 kB / 476.2 MB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.2987, allocations: 19.97 kB / 476.3 MB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.2987, allocations: 12.2 kB / 476.3 MB, free: 9.938 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004388/0.2991, allocations: 315.1 kB / 476.6 MB, free: 9.629 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2991, allocations: 0 / 476.6 MB, free: 9.629 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004614/0.2996, allocations: 211.7 kB / 476.8 MB, free: 9.422 MB / 410.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.0007385/0.3003, allocations: 467.2 kB / 477.3 MB, free: 8.953 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004516/0.3008, allocations: 444.9 kB / 477.7 MB, free: 8.508 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3008, allocations: 8 kB / 477.7 MB, free: 8.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.3009, allocations: 198.6 kB / 477.9 MB, free: 8.293 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.3014, allocations: 189.9 kB / 478.1 MB, free: 8.105 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008755/0.3023, allocations: 0.845 MB / 478.9 MB, free: 7.227 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.3024, allocations: 214.1 kB / 479.1 MB, free: 7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.194e-05/0.3025, allocations: 52.48 kB / 479.2 MB, free: 6.949 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3025, allocations: 0 / 479.2 MB, free: 6.949 MB / 410.7 MB Notification: Performance of Templates: time 0.009725/0.3122, allocations: 12.17 MB / 491.4 MB, free: 10.76 MB / 426.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.023066718131304]