Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009644/0.0009644, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1982/0.1982, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 71.89 kB / 419 MB, free: 19.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09793/0.09924, allocations: 62.46 MB / 481.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3317/0.431, allocations: 152.3 MB / 0.6188 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.4323, allocations: 1.051 MB / 0.6199 GB, free: 9.41 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.4323, allocations: 0 / 0.6199 GB, free: 9.41 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.4326, allocations: 34.64 kB / 0.6199 GB, free: 9.379 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005905/0.4332, allocations: 281.2 kB / 0.6202 GB, free: 9.109 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.4335, allocations: 112.2 kB / 0.6203 GB, free: 9 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.4338, allocations: 179.2 kB / 0.6205 GB, free: 8.824 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.596e-05/0.4338, allocations: 4 kB / 0.6205 GB, free: 8.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.434, allocations: 107.5 kB / 0.6206 GB, free: 8.715 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.626e-05/0.4341, allocations: 47.83 kB / 0.6206 GB, free: 8.668 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.4341, allocations: 4 kB / 0.6206 GB, free: 8.664 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004628/0.4346, allocations: 271.7 kB / 0.6209 GB, free: 8.398 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.4346, allocations: 19.86 kB / 0.6209 GB, free: 8.379 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.4347, allocations: 47.84 kB / 0.6209 GB, free: 8.332 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.4351, allocations: 285 kB / 0.6212 GB, free: 8.059 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4351, allocations: 0.6562 kB / 0.6212 GB, free: 8.059 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4352, allocations: 4 kB / 0.6212 GB, free: 8.055 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.4352, allocations: 0 / 0.6212 GB, free: 8.055 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004605/0.4356, allocations: 411.2 kB / 0.6216 GB, free: 7.605 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.4357, allocations: 12.03 kB / 0.6216 GB, free: 7.594 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.4377, allocations: 188.6 kB / 0.6218 GB, free: 7.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.438, allocations: 211.9 kB / 0.622 GB, free: 7.164 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.438, allocations: 7.469 kB / 0.622 GB, free: 7.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.4381, allocations: 12 kB / 0.622 GB, free: 7.148 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.4385, allocations: 231.1 kB / 0.6222 GB, free: 6.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.4385, allocations: 0 / 0.6222 GB, free: 6.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.4386, allocations: 4 kB / 0.6222 GB, free: 6.906 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.4386, allocations: 0 / 0.6222 GB, free: 6.906 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004251/0.439, allocations: 175.8 kB / 0.6224 GB, free: 6.734 MB / 462.1 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.0009719/0.44, allocations: 0.5865 MB / 0.623 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.4403, allocations: 134.5 kB / 0.6231 GB, free: 5.953 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.4405, allocations: 73.84 kB / 0.6232 GB, free: 5.879 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.4405, allocations: 4 kB / 0.6232 GB, free: 5.875 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.4405, allocations: 34.56 kB / 0.6232 GB, free: 5.832 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.4406, allocations: 0 / 0.6232 GB, free: 5.832 MB / 462.1 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.00587/0.4464, allocations: 1.312 MB / 0.6245 GB, free: 4.434 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.4465, allocations: 51.41 kB / 0.6245 GB, free: 4.371 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.378e-05/0.4466, allocations: 117.8 kB / 0.6247 GB, free: 4.246 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.4466, allocations: 25.7 kB / 0.6247 GB, free: 4.215 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.4467, allocations: 95.95 kB / 0.6248 GB, free: 4.117 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.4468, allocations: 67.03 kB / 0.6248 GB, free: 4.051 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.293e-05/0.4469, allocations: 61.61 kB / 0.6249 GB, free: 3.984 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.447, allocations: 322.8 kB / 0.6252 GB, free: 3.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.4471, allocations: 76.69 kB / 0.6253 GB, free: 3.586 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.4473, allocations: 103.4 kB / 0.6254 GB, free: 3.473 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/0.4478, allocations: 187.3 kB / 0.6256 GB, free: 3.277 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4478, allocations: 0 / 0.6256 GB, free: 3.277 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004843/0.4483, allocations: 254.2 kB / 0.6258 GB, free: 3.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4483, allocations: 4 kB / 0.6258 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4483, allocations: 0 / 0.6258 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001781/0.4485, allocations: 52.83 kB / 0.6258 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.4488, allocations: 57.19 kB / 0.6259 GB, free: 2.906 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003893/0.4492, allocations: 0.5641 MB / 0.6265 GB, free: 2.316 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.4494, allocations: 7.938 kB / 0.6265 GB, free: 2.309 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/0.4495, allocations: 31.98 kB / 0.6265 GB, free: 2.277 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.4496, allocations: 128.9 kB / 0.6266 GB, free: 2.145 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.4497, allocations: 11.91 kB / 0.6266 GB, free: 2.133 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000821/0.4505, allocations: 340.2 kB / 0.627 GB, free: 1.797 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4505, allocations: 3.984 kB / 0.627 GB, free: 1.793 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4505, allocations: 7.938 kB / 0.627 GB, free: 1.785 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4505, allocations: 3.984 kB / 0.627 GB, free: 1.781 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009742/0.4515, allocations: 0.6306 MB / 0.6276 GB, free: 1.082 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4515, allocations: 3.984 kB / 0.6276 GB, free: 1.078 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/0.4519, allocations: 59.95 kB / 0.6276 GB, free: 1.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.312e-05/0.452, allocations: 24.78 kB / 0.6277 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.452, allocations: 12 kB / 0.6277 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000972/0.453, allocations: 1.361 MB / 0.629 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.453, allocations: 8 kB / 0.629 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/0.4536, allocations: 432.8 kB / 0.6294 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.4537, allocations: 89.09 kB / 0.6295 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.4537, allocations: 8 kB / 0.6295 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.454, allocations: 8 kB / 0.6295 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.454, allocations: 23.91 kB / 0.6296 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.374e-05/0.4541, allocations: 31.98 kB / 0.6296 GB, free: 14.85 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.421e-05/0.4541, allocations: 87.28 kB / 0.6297 GB, free: 14.76 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4541, allocations: 0 / 0.6297 GB, free: 14.76 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004119/0.4546, allocations: 83.92 kB / 0.6297 GB, free: 14.68 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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.0003995/0.455, allocations: 143.2 kB / 0.6299 GB, free: 14.53 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004783/0.4555, allocations: 208.8 kB / 0.6301 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4555, allocations: 0 / 0.6301 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.4558, allocations: 218.6 kB / 0.6303 GB, free: 14.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.4562, allocations: 52.84 kB / 0.6303 GB, free: 14.05 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000807/0.4571, allocations: 489.3 kB / 0.6308 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.4574, allocations: 0.7046 MB / 0.6315 GB, free: 12.81 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000286/0.4577, allocations: 81.61 kB / 0.6316 GB, free: 12.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.4578, allocations: 51.41 kB / 0.6316 GB, free: 12.68 MB / 478.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4578, allocations: 0 / 0.6316 GB, free: 12.68 MB / 478.1 MB Notification: Performance of Templates: time 0.009258/0.4671, allocations: 5.613 MB / 0.6371 GB, free: 7.074 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches