Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001559, allocations: 112.6 kB / 17.09 MB, free: 5.988 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.001244/0.001245, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.413/1.413, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2203/0.2203, allocations: 43.53 MB / 314.8 MB, free: 464 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.001362/0.001362, allocations: 73.45 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1157, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4079/0.5237, allocations: 150.9 MB / 0.6359 GB, free: 3.812 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.5254, allocations: 1.495 MB / 0.6373 GB, free: 2.324 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/0.5255, allocations: 0 / 0.6373 GB, free: 2.324 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.5258, allocations: 45.73 kB / 0.6374 GB, free: 2.281 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008143/0.5267, allocations: 385.6 kB / 0.6377 GB, free: 1.914 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.5271, allocations: 176.3 kB / 0.6379 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.5274, allocations: 183.3 kB / 0.6381 GB, free: 1.562 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.5274, allocations: 11.98 kB / 0.6381 GB, free: 1.551 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.5276, allocations: 79.69 kB / 0.6382 GB, free: 1.473 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.5277, allocations: 55.83 kB / 0.6382 GB, free: 1.418 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.5277, allocations: 7.938 kB / 0.6382 GB, free: 1.41 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.5288, allocations: 0.5729 MB / 0.6388 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-05/0.5289, allocations: 27.97 kB / 0.6388 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.13e-05/0.529, allocations: 59.78 kB / 0.6389 GB, free: 0.75 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008013/0.5298, allocations: 388 kB / 0.6392 GB, free: 384 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.5298, allocations: 0 / 0.6392 GB, free: 384 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5298, allocations: 0 / 0.6392 GB, free: 384 kB / 478.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.5298, allocations: 0 / 0.6392 GB, free: 384 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007285/0.5305, allocations: 431.3 kB / 0.6396 GB, free: 15.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.5306, allocations: 11.89 kB / 0.6397 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/0.5328, allocations: 201.1 kB / 0.6398 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.5331, allocations: 208.2 kB / 0.64 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.5331, allocations: 8.312 kB / 0.6401 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.5331, allocations: 11.91 kB / 0.6401 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.5336, allocations: 201.5 kB / 0.6403 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.5336, allocations: 3.938 kB / 0.6403 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.5337, allocations: 3.984 kB / 0.6403 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.5337, allocations: 4 kB / 0.6403 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005926/0.5343, allocations: 243.8 kB / 0.6405 GB, free: 14.98 MB / 494.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.001715/0.536, allocations: 0.6491 MB / 0.6411 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.5364, allocations: 190.4 kB / 0.6413 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.5367, allocations: 96.19 kB / 0.6414 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.5368, allocations: 93.09 kB / 0.6415 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.5369, allocations: 34.56 kB / 0.6415 GB, free: 13.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.5369, allocations: 0 / 0.6415 GB, free: 13.84 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.005899/0.5428, allocations: 1.529 MB / 0.643 GB, free: 12.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.5428, allocations: 59.41 kB / 0.6431 GB, free: 12.13 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.288e-05/0.5429, allocations: 109.8 kB / 0.6432 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.543, allocations: 29.7 kB / 0.6432 GB, free: 11.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/0.543, allocations: 104.2 kB / 0.6433 GB, free: 11.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.772e-05/0.5431, allocations: 66.95 kB / 0.6434 GB, free: 11.81 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.396e-05/0.5432, allocations: 45.69 kB / 0.6434 GB, free: 11.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.5433, allocations: 318.8 kB / 0.6437 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.5435, allocations: 91.95 kB / 0.6438 GB, free: 11.35 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.5438, allocations: 127.1 kB / 0.6439 GB, free: 11.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.5443, allocations: 227.3 kB / 0.6441 GB, free: 10.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.5443, allocations: 0 / 0.6441 GB, free: 10.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000619/0.5449, allocations: 286.2 kB / 0.6444 GB, free: 10.69 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.5449, allocations: 7.938 kB / 0.6444 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.545, allocations: 4.75 kB / 0.6444 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001225/0.5451, allocations: 20.84 kB / 0.6445 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/0.5456, allocations: 63.98 kB / 0.6445 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003506/0.5459, allocations: 0.5329 MB / 0.645 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.5462, allocations: 8 kB / 0.645 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.5463, allocations: 7.984 kB / 0.645 GB, free: 10.02 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.0001285/0.5464, allocations: 137.8 kB / 0.6452 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.958e-05/0.5465, allocations: 12.72 kB / 0.6452 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007608/0.5472, allocations: 323.3 kB / 0.6455 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.5473, allocations: 0 / 0.6455 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.5473, allocations: 3.984 kB / 0.6455 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.5473, allocations: 88.95 kB / 0.6456 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.5474, allocations: 4 kB / 0.6456 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.5477, allocations: 7.984 kB / 0.6456 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.5478, allocations: 15.98 kB / 0.6456 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001047/0.5488, allocations: 326.7 kB / 0.6459 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007697/0.5496, allocations: 465.8 kB / 0.6464 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002131/0.5498, allocations: 84 kB / 0.6465 GB, free: 8.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.737e-05/0.5499, allocations: 87.27 kB / 0.6465 GB, free: 8.434 MB / 494.1 MB Notification: Performance of Backend: time 4.31e-07/0.5499, allocations: 0 / 0.6465 GB, free: 8.434 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00146/0.5514, allocations: 429.9 kB / 0.6469 GB, free: 8.008 MB / 494.1 MB Notification: Performance of SimCode: time 0.0009725/0.5523, allocations: 0.8522 MB / 0.6478 GB, free: 7.109 MB / 494.1 MB Notification: Performance of Templates: time 0.01243/0.5648, allocations: 7.939 MB / 0.6555 GB, free: 15.17 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches