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.001942/0.001942, allocations: 111.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002673/0.002673, allocations: 205.8 kB / 18.92 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.255/2.255, allocations: 227.4 MB / 247.1 MB, free: 10.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2177/0.2177, allocations: 46.11 MB / 344.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001485, allocations: 75.28 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1184, allocations: 62.44 MB / 480.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3888/0.5073, allocations: 150.2 MB / 0.6155 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.509, allocations: 1.065 MB / 0.6166 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.508e-05/0.5091, allocations: 4 kB / 0.6166 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.5093, allocations: 23.89 kB / 0.6166 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007904/0.5102, allocations: 249.2 kB / 0.6168 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.5106, allocations: 103.8 kB / 0.6169 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.5108, allocations: 179.2 kB / 0.6171 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.243e-05/0.5109, allocations: 4 kB / 0.6171 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.5111, allocations: 97.59 kB / 0.6172 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.5112, allocations: 59.75 kB / 0.6173 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.5113, allocations: 8 kB / 0.6173 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005749/0.5118, allocations: 279.6 kB / 0.6175 GB, free: 11.42 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.5119, allocations: 15.98 kB / 0.6176 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.512, allocations: 51.78 kB / 0.6176 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.5123, allocations: 203.6 kB / 0.6178 GB, free: 11.16 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5123, allocations: 3.938 kB / 0.6178 GB, free: 11.15 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5123, allocations: 4 kB / 0.6178 GB, free: 11.15 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.5124, allocations: 0 / 0.6178 GB, free: 11.15 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.0005365/0.5129, allocations: 403.2 kB / 0.6182 GB, free: 10.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.513, allocations: 12.03 kB / 0.6182 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.5151, allocations: 192.6 kB / 0.6184 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.5154, allocations: 215.6 kB / 0.6186 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.5154, allocations: 4 kB / 0.6186 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/0.5154, allocations: 12 kB / 0.6186 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000511/0.516, allocations: 226.4 kB / 0.6188 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.516, allocations: 4 kB / 0.6188 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.516, allocations: 4 kB / 0.6188 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.516, allocations: 4 kB / 0.6188 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000433/0.5165, allocations: 167.9 kB / 0.619 GB, free: 9.836 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.001134/0.5176, allocations: 0.5804 MB / 0.6196 GB, free: 9.199 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.518, allocations: 137.9 kB / 0.6197 GB, free: 9.059 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.5181, allocations: 72.83 kB / 0.6198 GB, free: 8.984 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.5182, allocations: 3.984 kB / 0.6198 GB, free: 8.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.5182, allocations: 34.56 kB / 0.6198 GB, free: 8.938 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 4.879e-06/0.5182, allocations: 4 kB / 0.6198 GB, free: 8.934 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.005376/0.5236, allocations: 1.308 MB / 0.6211 GB, free: 7.539 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.5237, allocations: 63.34 kB / 0.6211 GB, free: 7.465 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.5238, allocations: 109.8 kB / 0.6212 GB, free: 7.348 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.5238, allocations: 29.7 kB / 0.6213 GB, free: 7.312 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.5239, allocations: 95.94 kB / 0.6214 GB, free: 7.215 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.451e-05/0.524, allocations: 75.02 kB / 0.6214 GB, free: 7.141 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-05/0.5241, allocations: 53.61 kB / 0.6215 GB, free: 7.082 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5242, allocations: 318.8 kB / 0.6218 GB, free: 6.762 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.5244, allocations: 75.83 kB / 0.6219 GB, free: 6.688 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.5245, allocations: 106.4 kB / 0.622 GB, free: 6.574 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.5249, allocations: 183.3 kB / 0.6221 GB, free: 6.383 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5249, allocations: 0 / 0.6221 GB, free: 6.383 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005638/0.5255, allocations: 265.1 kB / 0.6224 GB, free: 6.117 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.5255, allocations: 4 kB / 0.6224 GB, free: 6.113 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5255, allocations: 0 / 0.6224 GB, free: 6.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000175/0.5257, allocations: 52.77 kB / 0.6224 GB, free: 6.059 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.526, allocations: 47.97 kB / 0.6225 GB, free: 6.012 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004487/0.5265, allocations: 0.5758 MB / 0.6231 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.5267, allocations: 0 / 0.6231 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.5267, allocations: 32.55 kB / 0.6231 GB, free: 5.379 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.0001225/0.5269, allocations: 117.8 kB / 0.6232 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.5269, allocations: 11.91 kB / 0.6232 GB, free: 5.242 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008317/0.5278, allocations: 345 kB / 0.6235 GB, free: 4.902 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.5278, allocations: 4 kB / 0.6235 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.5278, allocations: 0 / 0.6235 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.5278, allocations: 7.922 kB / 0.6235 GB, free: 4.891 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009572/0.5288, allocations: 0.6294 MB / 0.6242 GB, free: 4.195 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5288, allocations: 0 / 0.6242 GB, free: 4.195 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003476/0.5292, allocations: 67.89 kB / 0.6242 GB, free: 4.129 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.982e-05/0.5292, allocations: 16.84 kB / 0.6242 GB, free: 4.109 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.5293, allocations: 15.98 kB / 0.6243 GB, free: 4.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.5303, allocations: 1.369 MB / 0.6256 GB, free: 2.586 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5303, allocations: 8.094 kB / 0.6256 GB, free: 2.578 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006697/0.531, allocations: 430.5 kB / 0.626 GB, free: 2.133 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.5311, allocations: 85.11 kB / 0.6261 GB, free: 2.031 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.5311, allocations: 15.98 kB / 0.6261 GB, free: 2.016 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.5313, allocations: 11.92 kB / 0.6261 GB, free: 2.004 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.5314, allocations: 27.97 kB / 0.6261 GB, free: 1.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.5314, allocations: 23.98 kB / 0.6262 GB, free: 1.953 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.468e-05/0.5315, allocations: 91.58 kB / 0.6263 GB, free: 1.863 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5315, allocations: 0 / 0.6263 GB, free: 1.863 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004293/0.5319, allocations: 83.98 kB / 0.6263 GB, free: 1.781 MB / 462.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.0003999/0.5324, allocations: 154.7 kB / 0.6265 GB, free: 1.621 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005509/0.5329, allocations: 219.7 kB / 0.6267 GB, free: 1.406 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5329, allocations: 0 / 0.6267 GB, free: 1.406 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.5333, allocations: 222.5 kB / 0.6269 GB, free: 1.176 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.5337, allocations: 42.86 kB / 0.6269 GB, free: 1.137 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000905/0.5347, allocations: 0.5404 MB / 0.6275 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.535, allocations: 0.7084 MB / 0.6282 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.5352, allocations: 55.41 kB / 0.6282 GB, free: 15.77 MB / 478.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5352, allocations: 0 / 0.6282 GB, free: 15.77 MB / 478.1 MB Notification: Performance of Templates: time 0.006667/0.5419, allocations: 3.87 MB / 0.632 GB, free: 11.9 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 -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