Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 107.5 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009975/0.0009975, allocations: 187 kB / 19.34 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.239/1.239, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 56.39 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07406/0.07531, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.297/0.3723, allocations: 150.6 MB / 0.5141 GB, free: 8.598 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.3736, allocations: 0.9791 MB / 0.515 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.993e-05/0.3736, allocations: 0 / 0.515 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.3739, allocations: 31.77 kB / 0.5151 GB, free: 7.586 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006542/0.3746, allocations: 246.7 kB / 0.5153 GB, free: 7.344 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.3749, allocations: 118.3 kB / 0.5154 GB, free: 7.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.3752, allocations: 171.3 kB / 0.5156 GB, free: 7.062 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.3752, allocations: 4 kB / 0.5156 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.3754, allocations: 95.55 kB / 0.5157 GB, free: 6.965 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.286e-05/0.3755, allocations: 43.86 kB / 0.5157 GB, free: 6.922 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.3756, allocations: 7.984 kB / 0.5157 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005545/0.3761, allocations: 267.7 kB / 0.516 GB, free: 6.652 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.3762, allocations: 23.91 kB / 0.516 GB, free: 6.629 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.3763, allocations: 39.86 kB / 0.516 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.3767, allocations: 286.6 kB / 0.5163 GB, free: 6.312 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3768, allocations: 0 / 0.5163 GB, free: 6.312 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3768, allocations: 0 / 0.5163 GB, free: 6.312 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3768, allocations: 0 / 0.5163 GB, free: 6.312 MB / 446.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.0004945/0.3773, allocations: 411 kB / 0.5167 GB, free: 5.863 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3773, allocations: 8.031 kB / 0.5167 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.3793, allocations: 192.6 kB / 0.5169 GB, free: 5.668 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.3797, allocations: 200.5 kB / 0.5171 GB, free: 5.434 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.3797, allocations: 11.94 kB / 0.5171 GB, free: 5.422 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.486e-05/0.3797, allocations: 11.95 kB / 0.5171 GB, free: 5.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000489/0.3802, allocations: 228 kB / 0.5173 GB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3802, allocations: 0 / 0.5173 GB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.3803, allocations: 0 / 0.5173 GB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.3803, allocations: 7.938 kB / 0.5173 GB, free: 5.164 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/0.3807, allocations: 171.8 kB / 0.5175 GB, free: 4.996 MB / 446.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.001008/0.3818, allocations: 0.5839 MB / 0.5181 GB, free: 4.355 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.3821, allocations: 138.5 kB / 0.5182 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.3823, allocations: 72.83 kB / 0.5183 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.3823, allocations: 7.984 kB / 0.5183 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.3823, allocations: 38.56 kB / 0.5183 GB, free: 4.082 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.472e-06/0.3823, allocations: 3.938 kB / 0.5183 GB, free: 4.078 MB / 446.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.00533/0.3877, allocations: 1.302 MB / 0.5196 GB, free: 2.688 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.3877, allocations: 55.41 kB / 0.5196 GB, free: 2.621 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.237e-05/0.3878, allocations: 113.8 kB / 0.5197 GB, free: 2.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.3878, allocations: 25.7 kB / 0.5198 GB, free: 2.469 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.3879, allocations: 100 kB / 0.5199 GB, free: 2.367 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.388, allocations: 71.36 kB / 0.5199 GB, free: 2.297 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.243e-05/0.3881, allocations: 57.69 kB / 0.52 GB, free: 2.234 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.3882, allocations: 322.8 kB / 0.5203 GB, free: 1.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.3883, allocations: 63.97 kB / 0.5204 GB, free: 1.848 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.3885, allocations: 107.2 kB / 0.5205 GB, free: 1.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.3889, allocations: 187.2 kB / 0.5206 GB, free: 1.535 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3889, allocations: 0 / 0.5206 GB, free: 1.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005077/0.3894, allocations: 266.2 kB / 0.5209 GB, free: 1.266 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3894, allocations: 4 kB / 0.5209 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3895, allocations: 0 / 0.5209 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.3896, allocations: 52.83 kB / 0.5209 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.39, allocations: 59.89 kB / 0.521 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003997/0.3904, allocations: 0.5641 MB / 0.5215 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.3906, allocations: 8.031 kB / 0.5216 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/0.3906, allocations: 24 kB / 0.5216 GB, free: 0.5273 MB / 446.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.0001191/0.3908, allocations: 125.8 kB / 0.5217 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.3908, allocations: 11.95 kB / 0.5217 GB, free: 392 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007617/0.3916, allocations: 344.2 kB / 0.522 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3916, allocations: 0 / 0.522 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3916, allocations: 3.938 kB / 0.522 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.3917, allocations: 89.05 kB / 0.5221 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.3917, allocations: 4 kB / 0.5221 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.3919, allocations: 10.75 kB / 0.5221 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.392, allocations: 23.91 kB / 0.5222 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008423/0.3929, allocations: 329.6 kB / 0.5225 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006539/0.3935, allocations: 466.9 kB / 0.5229 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001671/0.3937, allocations: 80.12 kB / 0.523 GB, free: 15.01 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.291e-05/0.3938, allocations: 95.2 kB / 0.5231 GB, free: 14.92 MB / 462.1 MB Notification: Performance of Backend: time 4.61e-07/0.3938, allocations: 0 / 0.5231 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.3948, allocations: 321.9 kB / 0.5234 GB, free: 14.59 MB / 462.1 MB Notification: Performance of SimCode: time 0.000905/0.3957, allocations: 0.8684 MB / 0.5242 GB, free: 13.68 MB / 462.1 MB Notification: Performance of Templates: time 0.01043/0.4062, allocations: 6.762 MB / 0.5308 GB, free: 6.914 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches