Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 109.1 kB / 17.09 MB, free: 6.008 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.001514/0.001515, allocations: 198.2 kB / 18.02 MB, free: 5.082 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.471/1.471, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2085/0.2085, allocations: 43.53 MB / 314.8 MB, free: 456 kB / 254.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.001634/0.001634, allocations: 59.91 kB / 442.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.118, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4161/0.5342, allocations: 150.6 MB / 0.6356 GB, free: 3.973 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.5354, allocations: 0.9691 MB / 0.6365 GB, free: 3.016 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.5355, allocations: 0 / 0.6365 GB, free: 3.016 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.5357, allocations: 39.75 kB / 0.6366 GB, free: 2.977 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005473/0.5363, allocations: 248.8 kB / 0.6368 GB, free: 2.742 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.5367, allocations: 115.9 kB / 0.6369 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.5369, allocations: 175.3 kB / 0.6371 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.5369, allocations: 7.984 kB / 0.6371 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.5371, allocations: 91.56 kB / 0.6372 GB, free: 2.363 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.5372, allocations: 55.81 kB / 0.6372 GB, free: 2.309 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.5373, allocations: 4 kB / 0.6372 GB, free: 2.305 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000511/0.5378, allocations: 259.7 kB / 0.6375 GB, free: 2.051 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.5379, allocations: 15.98 kB / 0.6375 GB, free: 2.035 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.731e-05/0.5379, allocations: 51.72 kB / 0.6376 GB, free: 1.984 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.5383, allocations: 278.4 kB / 0.6378 GB, free: 1.715 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.5383, allocations: 4 kB / 0.6378 GB, free: 1.711 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5383, allocations: 0 / 0.6378 GB, free: 1.711 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.5383, allocations: 3.938 kB / 0.6378 GB, free: 1.707 MB / 478.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.0004627/0.5388, allocations: 411.2 kB / 0.6382 GB, free: 1.258 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.5388, allocations: 11.89 kB / 0.6382 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/0.5408, allocations: 193.1 kB / 0.6384 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.5411, allocations: 208.5 kB / 0.6386 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.5411, allocations: 11.88 kB / 0.6386 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.5412, allocations: 8 kB / 0.6386 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.5416, allocations: 223.5 kB / 0.6388 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.5417, allocations: 0 / 0.6388 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.5417, allocations: 0 / 0.6388 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.5417, allocations: 8 kB / 0.6389 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004147/0.5421, allocations: 179.7 kB / 0.639 GB, free: 392 kB / 478.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.0009712/0.5431, allocations: 0.5487 MB / 0.6396 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.5435, allocations: 146.5 kB / 0.6397 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.5436, allocations: 72.83 kB / 0.6398 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.5436, allocations: 3.984 kB / 0.6398 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.5437, allocations: 34.56 kB / 0.6398 GB, free: 15.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.5437, allocations: 0 / 0.6398 GB, free: 15.5 MB / 494.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.005142/0.5488, allocations: 1.307 MB / 0.6411 GB, free: 14.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.5489, allocations: 59.34 kB / 0.6411 GB, free: 14.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.271e-05/0.5489, allocations: 109.8 kB / 0.6412 GB, free: 13.92 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.549, allocations: 25.7 kB / 0.6413 GB, free: 13.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.549, allocations: 99.98 kB / 0.6414 GB, free: 13.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.565e-05/0.5491, allocations: 67 kB / 0.6414 GB, free: 13.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.461e-05/0.5492, allocations: 57.69 kB / 0.6415 GB, free: 13.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5493, allocations: 318.8 kB / 0.6418 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.5495, allocations: 67.95 kB / 0.6419 GB, free: 13.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.5497, allocations: 111.2 kB / 0.642 GB, free: 13.15 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.55, allocations: 179.3 kB / 0.6421 GB, free: 12.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.55, allocations: 4 kB / 0.6421 GB, free: 12.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004802/0.5505, allocations: 258.1 kB / 0.6424 GB, free: 12.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.5505, allocations: 4.094 kB / 0.6424 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5506, allocations: 8 kB / 0.6424 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001696/0.5507, allocations: 52.83 kB / 0.6424 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.5511, allocations: 51.91 kB / 0.6425 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000405/0.5515, allocations: 0.5601 MB / 0.643 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.5517, allocations: 8.125 kB / 0.643 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.5517, allocations: 31.98 kB / 0.6431 GB, free: 11.95 MB / 494.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.0001107/0.5518, allocations: 129.7 kB / 0.6432 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.5519, allocations: 11.81 kB / 0.6432 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007107/0.5526, allocations: 336.1 kB / 0.6435 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5526, allocations: 0 / 0.6435 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5526, allocations: 3.938 kB / 0.6435 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.5527, allocations: 93 kB / 0.6436 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.5527, allocations: 11.62 kB / 0.6436 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.5529, allocations: 7.984 kB / 0.6436 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.553, allocations: 19.97 kB / 0.6437 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008289/0.5538, allocations: 329.5 kB / 0.644 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006369/0.5545, allocations: 466.9 kB / 0.6444 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001499/0.5547, allocations: 76 kB / 0.6445 GB, free: 10.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.946e-05/0.5547, allocations: 83.59 kB / 0.6446 GB, free: 10.36 MB / 494.1 MB Notification: Performance of Backend: time 4.81e-07/0.5547, allocations: 0 / 0.6446 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009435/0.5557, allocations: 332.7 kB / 0.6449 GB, free: 10.03 MB / 494.1 MB Notification: Performance of SimCode: time 0.000851/0.5565, allocations: 0.868 MB / 0.6457 GB, free: 9.117 MB / 494.1 MB Notification: Performance of Templates: time 0.01045/0.567, allocations: 6.781 MB / 0.6524 GB, free: 2.328 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches