Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001193/0.001199, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001217/0.001217, allocations: 187 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2076/0.2076, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 67.89 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.41, allocations: 60.82 MB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1789/0.589, allocations: 149.9 MB / 0.6653 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003572/0.5926, allocations: 3.138 MB / 0.6683 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.673e-05/0.5927, allocations: 4 kB / 0.6683 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.5931, allocations: 55.66 kB / 0.6684 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002132/0.5952, allocations: 1.019 MB / 0.6694 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.5958, allocations: 207.3 kB / 0.6696 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004001/0.5962, allocations: 354.6 kB / 0.6699 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.689e-05/0.5963, allocations: 13.08 kB / 0.6699 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.5965, allocations: 147.5 kB / 0.6701 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.5967, allocations: 111.6 kB / 0.6702 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.5968, allocations: 16 kB / 0.6702 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/0.5991, allocations: 1.492 MB / 0.6717 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.612e-05/0.5992, allocations: 75.83 kB / 0.6717 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.5994, allocations: 99.59 kB / 0.6718 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.6006, allocations: 1.003 MB / 0.6728 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6006, allocations: 4 kB / 0.6728 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6006, allocations: 0 / 0.6728 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.6006, allocations: 3.938 kB / 0.6728 GB, free: 13.88 MB / 0.5294 GB 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.0007718/0.6014, allocations: 0.5345 MB / 0.6733 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.6014, allocations: 12.03 kB / 0.6734 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/0.6027, allocations: 208.5 kB / 0.6736 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.6031, allocations: 259.7 kB / 0.6738 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.6031, allocations: 12.38 kB / 0.6738 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.6032, allocations: 20 kB / 0.6738 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005431/0.6037, allocations: 365.5 kB / 0.6742 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.6037, allocations: 0 / 0.6742 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.6038, allocations: 12 kB / 0.6742 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.6038, allocations: 4 kB / 0.6742 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005298/0.6043, allocations: 403.7 kB / 0.6746 GB, free: 11.98 MB / 0.5294 GB 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.00153/0.6059, allocations: 0.8046 MB / 0.6754 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.6062, allocations: 225.1 kB / 0.6756 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.6064, allocations: 121.6 kB / 0.6757 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001732/0.6082, allocations: 0.9841 MB / 0.6767 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.6082, allocations: 46.55 kB / 0.6767 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 1.373e-06/0.6082, allocations: 0 / 0.6767 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.001115/0.6093, allocations: 361.7 kB / 0.677 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.6094, allocations: 85.05 kB / 0.6771 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/0.6095, allocations: 113.8 kB / 0.6772 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.6095, allocations: 29.7 kB / 0.6773 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.323e-05/0.6096, allocations: 120.4 kB / 0.6774 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.325e-05/0.6097, allocations: 98.47 kB / 0.6775 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.148e-05/0.6098, allocations: 62.02 kB / 0.6775 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.6099, allocations: 330.8 kB / 0.6778 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.6101, allocations: 92.61 kB / 0.6779 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.6103, allocations: 191.5 kB / 0.6781 GB, free: 8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004311/0.6107, allocations: 296.8 kB / 0.6784 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.6108, allocations: 0 / 0.6784 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005765/0.6113, allocations: 349.1 kB / 0.6787 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.6114, allocations: 4 kB / 0.6787 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.6114, allocations: 4 kB / 0.6787 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.6114, allocations: 4 kB / 0.6787 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.6117, allocations: 71.84 kB / 0.6788 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.6117, allocations: 7.984 kB / 0.6788 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.6119, allocations: 32.09 kB / 0.6789 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.612, allocations: 12 kB / 0.6789 GB, free: 7.199 MB / 0.5294 GB 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.0001655/0.6121, allocations: 145.7 kB / 0.679 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.099e-05/0.6122, allocations: 19.75 kB / 0.679 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000609/0.6129, allocations: 314.2 kB / 0.6793 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.6129, allocations: 0 / 0.6793 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6129, allocations: 4 kB / 0.6793 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.6129, allocations: 0 / 0.6793 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000521/0.6134, allocations: 331 kB / 0.6796 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.6134, allocations: 11.94 kB / 0.6797 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/0.6137, allocations: 55.91 kB / 0.6797 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.6138, allocations: 0 / 0.6797 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.6138, allocations: 11.98 kB / 0.6797 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.6138, allocations: 4 kB / 0.6797 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6138, allocations: 3.938 kB / 0.6797 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006959/0.6145, allocations: 0.5023 MB / 0.6802 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.6146, allocations: 96.86 kB / 0.6803 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.6146, allocations: 8.062 kB / 0.6803 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.6149, allocations: 15.98 kB / 0.6803 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.615, allocations: 19.97 kB / 0.6803 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.615, allocations: 16 kB / 0.6804 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.023e-05/0.6151, allocations: 91.52 kB / 0.6805 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6151, allocations: 0 / 0.6805 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007211/0.6158, allocations: 227.8 kB / 0.6807 GB, free: 5.246 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (29): * Single equations (assignments): 29 * 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 Backend phase and start with SimCode phase: time 0.0009234/0.6167, allocations: 438.7 kB / 0.6811 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004743/0.6172, allocations: 252.8 kB / 0.6813 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6172, allocations: 4 kB / 0.6813 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.6174, allocations: 135.2 kB / 0.6815 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006187/0.618, allocations: 92.12 kB / 0.6815 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.6191, allocations: 0.7068 MB / 0.6822 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.6194, allocations: 0.7324 MB / 0.683 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002592/0.6197, allocations: 65.84 kB / 0.683 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.044e-05/0.6198, allocations: 31.44 kB / 0.683 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.6198, allocations: 0 / 0.683 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of Templates: time 0.01266/0.6324, allocations: 8.264 MB / 0.6911 GB, free: 10.53 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches