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.000837/0.000837, allocations: 97.91 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008788/0.0008788, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.7 MB / 247.5 MB, free: 9.473 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1914/0.1914, allocations: 46.19 MB / 345.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002764/0.0002765, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1216, allocations: 63.55 MB / 483.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4136/0.5352, allocations: 148.1 MB / 0.6171 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.5369, allocations: 1.085 MB / 0.6181 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.943e-05/0.537, allocations: 0 / 0.6181 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.5373, allocations: 35.83 kB / 0.6182 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008078/0.5381, allocations: 238.4 kB / 0.6184 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.5385, allocations: 103.4 kB / 0.6185 GB, free: 15.06 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.5388, allocations: 239.2 kB / 0.6187 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.5389, allocations: 7.984 kB / 0.6187 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.5391, allocations: 93.59 kB / 0.6188 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.5392, allocations: 55.77 kB / 0.6189 GB, free: 14.67 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.5393, allocations: 4 kB / 0.6189 GB, free: 14.67 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006066/0.5399, allocations: 279.6 kB / 0.6191 GB, free: 14.39 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.797e-05/0.54, allocations: 19.97 kB / 0.6191 GB, free: 14.38 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.46e-05/0.5401, allocations: 69.5 kB / 0.6192 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.5404, allocations: 203.6 kB / 0.6194 GB, free: 14.1 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5405, allocations: 0 / 0.6194 GB, free: 14.1 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.5405, allocations: 0 / 0.6194 GB, free: 14.1 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.5405, allocations: 0 / 0.6194 GB, free: 14.1 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.0005323/0.541, allocations: 387.2 kB / 0.6198 GB, free: 13.67 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.5411, allocations: 12.88 kB / 0.6198 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002238/0.5433, allocations: 196.6 kB / 0.62 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.5436, allocations: 209.8 kB / 0.6202 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.5436, allocations: 4 kB / 0.6202 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.5436, allocations: 11.98 kB / 0.6202 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.5442, allocations: 230.2 kB / 0.6204 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5442, allocations: 0 / 0.6204 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.5442, allocations: 4 kB / 0.6204 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.5443, allocations: 4 kB / 0.6204 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/0.5447, allocations: 167.8 kB / 0.6206 GB, free: 12.8 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.001105/0.5458, allocations: 0.5848 MB / 0.6211 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.5462, allocations: 147.2 kB / 0.6213 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.5464, allocations: 64.83 kB / 0.6214 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.5464, allocations: 4 kB / 0.6214 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.5465, allocations: 38.56 kB / 0.6214 GB, free: 11.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.5465, allocations: 0 / 0.6214 GB, free: 11.89 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.00556/0.552, allocations: 1.312 MB / 0.6227 GB, free: 10.49 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.5521, allocations: 55.41 kB / 0.6227 GB, free: 10.42 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.5522, allocations: 113.8 kB / 0.6228 GB, free: 10.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.5522, allocations: 29.7 kB / 0.6229 GB, free: 10.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.5523, allocations: 103.9 kB / 0.623 GB, free: 10.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.193e-05/0.5524, allocations: 63.05 kB / 0.623 GB, free: 10.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.5524, allocations: 21.7 kB / 0.623 GB, free: 10.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5526, allocations: 322.8 kB / 0.6234 GB, free: 9.746 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.5527, allocations: 71.83 kB / 0.6234 GB, free: 9.676 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.5529, allocations: 111.3 kB / 0.6235 GB, free: 9.555 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.5533, allocations: 179.3 kB / 0.6237 GB, free: 9.367 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5533, allocations: 3.938 kB / 0.6237 GB, free: 9.363 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005327/0.5538, allocations: 257.6 kB / 0.6239 GB, free: 9.105 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.5539, allocations: 4 kB / 0.6239 GB, free: 9.102 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.5539, allocations: 4 kB / 0.624 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001899/0.5541, allocations: 48.83 kB / 0.624 GB, free: 9.047 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.5544, allocations: 59.89 kB / 0.6241 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004276/0.5549, allocations: 0.5679 MB / 0.6246 GB, free: 8.395 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.5551, allocations: 8.031 kB / 0.6246 GB, free: 8.387 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.5551, allocations: 24 kB / 0.6246 GB, free: 8.363 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.0001362/0.5553, allocations: 125.8 kB / 0.6248 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.5553, allocations: 11.89 kB / 0.6248 GB, free: 8.219 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008259/0.5562, allocations: 347.1 kB / 0.6251 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.5562, allocations: 0 / 0.6251 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5562, allocations: 0 / 0.6251 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.5562, allocations: 7.984 kB / 0.6251 GB, free: 7.867 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009889/0.5572, allocations: 0.629 MB / 0.6257 GB, free: 7.172 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.5572, allocations: 4 kB / 0.6257 GB, free: 7.168 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/0.5576, allocations: 55.95 kB / 0.6258 GB, free: 7.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.545e-05/0.5576, allocations: 20.84 kB / 0.6258 GB, free: 7.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.5577, allocations: 15.98 kB / 0.6258 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008999/0.5586, allocations: 1.277 MB / 0.6271 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5586, allocations: 0 / 0.6271 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006767/0.5593, allocations: 434.6 kB / 0.6275 GB, free: 5.211 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.5594, allocations: 92.98 kB / 0.6276 GB, free: 5.102 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.5594, allocations: 4 kB / 0.6276 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.5596, allocations: 15.88 kB / 0.6276 GB, free: 5.082 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.5597, allocations: 27.91 kB / 0.6276 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.5597, allocations: 28.05 kB / 0.6276 GB, free: 5.027 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.557e-05/0.5598, allocations: 91.27 kB / 0.6277 GB, free: 4.938 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5598, allocations: 0 / 0.6277 GB, free: 4.938 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004275/0.5602, allocations: 84 kB / 0.6278 GB, free: 4.855 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.0003835/0.5606, allocations: 143.2 kB / 0.6279 GB, free: 4.703 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005131/0.5611, allocations: 203.1 kB / 0.6281 GB, free: 4.508 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5612, allocations: 0 / 0.6281 GB, free: 4.508 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003477/0.5615, allocations: 226.9 kB / 0.6284 GB, free: 4.273 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.562, allocations: 43.95 kB / 0.6284 GB, free: 4.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009528/0.563, allocations: 0.5996 MB / 0.629 GB, free: 3.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.5633, allocations: 0.7087 MB / 0.6297 GB, free: 2.855 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.5635, allocations: 55.41 kB / 0.6297 GB, free: 2.801 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5635, allocations: 4 kB / 0.6297 GB, free: 2.797 MB / 462.1 MB Notification: Performance of Templates: time 0.007592/0.5711, allocations: 3.863 MB / 0.6335 GB, free: 14.93 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