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.0008408/0.000841, allocations: 97.3 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001003/0.001003, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2572/0.2572, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002453/0.0002454, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1151, allocations: 63.56 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3876/0.5027, allocations: 148.1 MB / 0.6164 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.5041, allocations: 1.094 MB / 0.6175 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.563e-05/0.5042, allocations: 0 / 0.6175 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.5045, allocations: 23.83 kB / 0.6175 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006377/0.5051, allocations: 245.5 kB / 0.6178 GB, free: 15.15 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.5055, allocations: 98.98 kB / 0.6178 GB, free: 15.06 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.5058, allocations: 243.2 kB / 0.6181 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.5058, allocations: 4 kB / 0.6181 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.506, allocations: 97.59 kB / 0.6182 GB, free: 14.72 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.5062, allocations: 55.77 kB / 0.6182 GB, free: 14.67 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.5062, allocations: 4 kB / 0.6182 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004963/0.5067, allocations: 275.6 kB / 0.6185 GB, free: 14.39 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.5067, allocations: 19.95 kB / 0.6185 GB, free: 14.38 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.258e-05/0.5068, allocations: 69.52 kB / 0.6186 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004298/0.5073, allocations: 283.3 kB / 0.6188 GB, free: 14.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5073, allocations: 4 kB / 0.6189 GB, free: 14.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5073, allocations: 4 kB / 0.6189 GB, free: 14.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.5073, allocations: 0 / 0.6189 GB, free: 14.02 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.0004595/0.5078, allocations: 389.8 kB / 0.6192 GB, free: 13.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.5078, allocations: 8.875 kB / 0.6192 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002197/0.51, allocations: 196.5 kB / 0.6194 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.5103, allocations: 208.8 kB / 0.6196 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.5103, allocations: 8 kB / 0.6196 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.5104, allocations: 8 kB / 0.6196 GB, free: 13.13 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/0.5109, allocations: 224 kB / 0.6199 GB, free: 12.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.5109, allocations: 0 / 0.6199 GB, free: 12.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.511, allocations: 11.98 kB / 0.6199 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.511, allocations: 0 / 0.6199 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004547/0.5115, allocations: 167.9 kB / 0.62 GB, free: 12.72 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.001125/0.5126, allocations: 0.5847 MB / 0.6206 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.5129, allocations: 134.5 kB / 0.6207 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.5131, allocations: 80.8 kB / 0.6208 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.5132, allocations: 0 / 0.6208 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.5132, allocations: 42.48 kB / 0.6208 GB, free: 11.81 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.5132, allocations: 0 / 0.6208 GB, free: 11.81 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.005462/0.5187, allocations: 1.315 MB / 0.6221 GB, free: 10.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.5187, allocations: 55.41 kB / 0.6222 GB, free: 10.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.244e-05/0.5188, allocations: 109.8 kB / 0.6223 GB, free: 10.22 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.5189, allocations: 29.7 kB / 0.6223 GB, free: 10.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.5189, allocations: 87.95 kB / 0.6224 GB, free: 10.09 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.519, allocations: 78.97 kB / 0.6225 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.519, allocations: 25.7 kB / 0.6225 GB, free: 9.984 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.968e-05/0.5191, allocations: 314.8 kB / 0.6228 GB, free: 9.668 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.5193, allocations: 79.81 kB / 0.6229 GB, free: 9.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.5195, allocations: 95.39 kB / 0.623 GB, free: 9.484 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.5199, allocations: 187.3 kB / 0.6231 GB, free: 9.289 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5199, allocations: 0 / 0.6231 GB, free: 9.289 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005007/0.5204, allocations: 261.4 kB / 0.6234 GB, free: 9.027 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.5204, allocations: 4 kB / 0.6234 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.5204, allocations: 0 / 0.6234 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/0.5206, allocations: 56.86 kB / 0.6234 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.5209, allocations: 47.97 kB / 0.6235 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004666/0.5214, allocations: 0.5756 MB / 0.6241 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.5216, allocations: 8.031 kB / 0.6241 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.5216, allocations: 23.98 kB / 0.6241 GB, free: 8.285 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.0001321/0.5218, allocations: 125.9 kB / 0.6242 GB, free: 8.152 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.5218, allocations: 11.84 kB / 0.6242 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008274/0.5227, allocations: 344.8 kB / 0.6245 GB, free: 7.801 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5227, allocations: 4 kB / 0.6246 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5227, allocations: 0 / 0.6246 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.5227, allocations: 0 / 0.6246 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009729/0.5237, allocations: 0.6329 MB / 0.6252 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.5237, allocations: 3.75 kB / 0.6252 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/0.5241, allocations: 67.89 kB / 0.6252 GB, free: 7.031 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.618e-05/0.5241, allocations: 20.94 kB / 0.6253 GB, free: 7.008 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.5242, allocations: 15.94 kB / 0.6253 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009053/0.5251, allocations: 1.269 MB / 0.6265 GB, free: 5.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.5251, allocations: 32 / 0.6265 GB, free: 5.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006691/0.5258, allocations: 434.1 kB / 0.6269 GB, free: 5.141 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.5259, allocations: 97.12 kB / 0.627 GB, free: 5.027 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.5259, allocations: 4 kB / 0.627 GB, free: 5.023 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.5261, allocations: 11.94 kB / 0.627 GB, free: 5.012 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.5262, allocations: 27.91 kB / 0.6271 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.5262, allocations: 27.98 kB / 0.6271 GB, free: 4.957 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.424e-05/0.5263, allocations: 87.28 kB / 0.6272 GB, free: 4.871 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5263, allocations: 0 / 0.6272 GB, free: 4.871 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004196/0.5267, allocations: 79.98 kB / 0.6272 GB, free: 4.793 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.0003528/0.5271, allocations: 151.1 kB / 0.6274 GB, free: 4.633 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004665/0.5276, allocations: 203.8 kB / 0.6276 GB, free: 4.434 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5276, allocations: 0 / 0.6276 GB, free: 4.434 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.528, allocations: 218.5 kB / 0.6278 GB, free: 4.207 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.5285, allocations: 48.33 kB / 0.6278 GB, free: 4.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000832/0.5293, allocations: 0.5842 MB / 0.6284 GB, free: 3.543 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.5296, allocations: 0.7049 MB / 0.6291 GB, free: 2.812 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004257/0.53, allocations: 81.86 kB / 0.6292 GB, free: 2.734 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.5302, allocations: 51.41 kB / 0.6292 GB, free: 2.684 MB / 462.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5302, allocations: 0 / 0.6292 GB, free: 2.684 MB / 462.1 MB Notification: Performance of Templates: time 0.009643/0.5399, allocations: 5.449 MB / 0.6345 GB, free: 13.25 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches