Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 100.2 kB / 17.08 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.001315/0.001315, allocations: 198.2 kB / 18.02 MB, free: 5.07 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.461/1.461, 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.2314/0.2314, allocations: 43.52 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.00141/0.00141, allocations: 71.84 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1193, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4789/0.5983, allocations: 151.2 MB / 0.6362 GB, free: 3.5 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003746/0.6021, allocations: 3.028 MB / 0.6391 GB, free: 496 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.6022, allocations: 0 / 0.6391 GB, free: 496 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003826/0.6026, allocations: 59.66 kB / 0.6392 GB, free: 436 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002124/0.6048, allocations: 1.015 MB / 0.6402 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.6052, allocations: 198.8 kB / 0.6404 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003771/0.6056, allocations: 354.7 kB / 0.6407 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.6057, allocations: 13.12 kB / 0.6407 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.6059, allocations: 155.4 kB / 0.6409 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.6062, allocations: 107.6 kB / 0.641 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.6062, allocations: 12 kB / 0.641 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.6087, allocations: 1.457 MB / 0.6424 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.993e-05/0.6088, allocations: 75.83 kB / 0.6425 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.6089, allocations: 111.6 kB / 0.6426 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.6101, allocations: 0.9851 MB / 0.6436 GB, free: 11.96 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6101, allocations: 3.375 kB / 0.6436 GB, free: 11.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.6101, allocations: 0 / 0.6436 GB, free: 11.96 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.6102, allocations: 0 / 0.6436 GB, free: 11.96 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008238/0.611, allocations: 0.5461 MB / 0.6441 GB, free: 11.37 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.611, allocations: 12.03 kB / 0.6441 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.6124, allocations: 196.5 kB / 0.6443 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.6127, allocations: 252 kB / 0.6445 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.6127, allocations: 16.94 kB / 0.6445 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.019e-05/0.6128, allocations: 19.94 kB / 0.6446 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000564/0.6134, allocations: 391.8 kB / 0.6449 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.6134, allocations: 0 / 0.6449 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.6134, allocations: 4 kB / 0.6449 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.6135, allocations: 8 kB / 0.6449 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005251/0.614, allocations: 415.1 kB / 0.6453 GB, free: 10.04 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.001538/0.6155, allocations: 0.8007 MB / 0.6461 GB, free: 9.184 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/0.6159, allocations: 213.1 kB / 0.6463 GB, free: 8.957 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.6161, allocations: 125.5 kB / 0.6464 GB, free: 8.828 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001655/0.6177, allocations: 0.901 MB / 0.6473 GB, free: 7.781 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.6178, allocations: 34.56 kB / 0.6474 GB, free: 7.738 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.924e-06/0.6178, allocations: 0 / 0.6474 GB, free: 7.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.001168/0.619, allocations: 357.6 kB / 0.6477 GB, free: 7.383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.619, allocations: 81.36 kB / 0.6478 GB, free: 7.285 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.6191, allocations: 113.8 kB / 0.6479 GB, free: 7.164 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.6192, allocations: 33.7 kB / 0.6479 GB, free: 7.125 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.6192, allocations: 112.3 kB / 0.648 GB, free: 7.008 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.9e-05/0.6193, allocations: 106.5 kB / 0.6481 GB, free: 6.902 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.584e-05/0.6194, allocations: 62.03 kB / 0.6482 GB, free: 6.836 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.6196, allocations: 322.8 kB / 0.6485 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.6197, allocations: 100.6 kB / 0.6486 GB, free: 6.414 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.62, allocations: 191.4 kB / 0.6488 GB, free: 6.191 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/0.6204, allocations: 302.6 kB / 0.6491 GB, free: 5.859 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.6204, allocations: 4 kB / 0.6491 GB, free: 5.855 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005824/0.621, allocations: 342.4 kB / 0.6494 GB, free: 5.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.6211, allocations: 11.94 kB / 0.6494 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6211, allocations: 0 / 0.6494 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.6211, allocations: 4 kB / 0.6494 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.6214, allocations: 84.14 kB / 0.6495 GB, free: 5.418 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.6214, allocations: 4 kB / 0.6495 GB, free: 5.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.6217, allocations: 27.69 kB / 0.6495 GB, free: 5.387 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.6217, allocations: 20 kB / 0.6495 GB, free: 5.367 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.6218, allocations: 137.8 kB / 0.6497 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-05/0.6219, allocations: 15.84 kB / 0.6497 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006296/0.6226, allocations: 328 kB / 0.65 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.6226, allocations: 11.97 kB / 0.65 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6226, allocations: 3.562 kB / 0.65 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.6227, allocations: 88.95 kB / 0.6501 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.6227, allocations: 12 kB / 0.6501 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.623, allocations: 11.98 kB / 0.6501 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.6231, allocations: 19.92 kB / 0.6501 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006852/0.6238, allocations: 412.4 kB / 0.6505 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007167/0.6245, allocations: 0.5649 MB / 0.6511 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001816/0.6247, allocations: 92 kB / 0.6512 GB, free: 3.645 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.558e-05/0.6247, allocations: 91.25 kB / 0.6513 GB, free: 3.555 MB / 494.1 MB Notification: Performance of Backend: time 5.61e-07/0.6247, allocations: 0 / 0.6513 GB, free: 3.555 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.6265, allocations: 0.5823 MB / 0.6518 GB, free: 2.969 MB / 494.1 MB Notification: Performance of SimCode: time 0.001228/0.6277, allocations: 1.126 MB / 0.6529 GB, free: 1.801 MB / 494.1 MB Notification: Performance of Templates: time 0.016/0.6437, allocations: 8.672 MB / 0.6614 GB, free: 9.129 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches