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.001297/0.001297, allocations: 110 kB / 18.45 MB, free: 4.578 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.001228/0.001228, allocations: 186.3 kB / 19.38 MB, free: 3.66 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.314/1.314, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2034/0.2034, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3977, allocations: 60.83 MB / 0.5195 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.198/0.5958, allocations: 149.9 MB / 0.6659 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004484/0.6003, allocations: 3.138 MB / 0.669 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.6005, allocations: 0 / 0.669 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004374/0.601, allocations: 59.64 kB / 0.6691 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003502/0.6045, allocations: 1.03 MB / 0.6701 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.6052, allocations: 195.3 kB / 0.6703 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005848/0.6057, allocations: 350.7 kB / 0.6706 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.439e-05/0.6058, allocations: 21.08 kB / 0.6706 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003821/0.6062, allocations: 143.5 kB / 0.6707 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.6065, allocations: 111.6 kB / 0.6709 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.952e-05/0.6066, allocations: 12 kB / 0.6709 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/0.61, allocations: 1.492 MB / 0.6723 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.6102, allocations: 71.83 kB / 0.6724 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.6103, allocations: 111.6 kB / 0.6725 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002515/0.6128, allocations: 0.9918 MB / 0.6735 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6129, allocations: 3.938 kB / 0.6735 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.415e-06/0.6129, allocations: 4 kB / 0.6735 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.6129, allocations: 0 / 0.6735 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.00131/0.6142, allocations: 0.5423 MB / 0.674 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.6143, allocations: 16.03 kB / 0.674 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/0.6159, allocations: 200.5 kB / 0.6742 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.6163, allocations: 259.7 kB / 0.6745 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.6164, allocations: 12.38 kB / 0.6745 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.69e-05/0.6164, allocations: 23.98 kB / 0.6745 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006489/0.6171, allocations: 377.5 kB / 0.6749 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.6171, allocations: 0 / 0.6749 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/0.6172, allocations: 8 kB / 0.6749 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.6172, allocations: 4 kB / 0.6749 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005803/0.6178, allocations: 403.7 kB / 0.6752 GB, free: 11.96 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.001817/0.6196, allocations: 0.8007 MB / 0.676 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.62, allocations: 221.1 kB / 0.6762 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.6202, allocations: 117.6 kB / 0.6764 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001956/0.6221, allocations: 0.9841 MB / 0.6773 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.6222, allocations: 42.56 kB / 0.6774 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 2.234e-06/0.6222, allocations: 3.938 kB / 0.6774 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.001297/0.6235, allocations: 364.8 kB / 0.6777 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.6236, allocations: 89.11 kB / 0.6778 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.6237, allocations: 113.8 kB / 0.6779 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.6237, allocations: 29.7 kB / 0.6779 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.6238, allocations: 112.4 kB / 0.678 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.005e-05/0.6239, allocations: 110.5 kB / 0.6781 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.624, allocations: 58.03 kB / 0.6782 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6242, allocations: 326.8 kB / 0.6785 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.6244, allocations: 96.61 kB / 0.6786 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.6246, allocations: 187.5 kB / 0.6788 GB, free: 8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.6251, allocations: 305.7 kB / 0.6791 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.6251, allocations: 0 / 0.6791 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006161/0.6257, allocations: 333.2 kB / 0.6794 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.6257, allocations: 10.66 kB / 0.6794 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.6258, allocations: 8.297 kB / 0.6794 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.6258, allocations: 8 kB / 0.6794 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.6261, allocations: 75.84 kB / 0.6795 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.6262, allocations: 4 kB / 0.6795 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.6264, allocations: 27.77 kB / 0.6795 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.6265, allocations: 19.94 kB / 0.6795 GB, free: 7.188 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.0001659/0.6267, allocations: 137.7 kB / 0.6797 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.6268, allocations: 19.8 kB / 0.6797 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006268/0.6274, allocations: 317.9 kB / 0.68 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.6274, allocations: 4 kB / 0.68 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.6274, allocations: 8 kB / 0.68 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.6274, allocations: 3.938 kB / 0.68 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/0.628, allocations: 335 kB / 0.6803 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.628, allocations: 0 / 0.6803 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.6284, allocations: 59.91 kB / 0.6804 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.6284, allocations: 0 / 0.6804 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.6284, allocations: 11.94 kB / 0.6804 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.6284, allocations: 4 kB / 0.6804 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6284, allocations: 0 / 0.6804 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007341/0.6292, allocations: 0.5062 MB / 0.6809 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.297e-05/0.6293, allocations: 92.86 kB / 0.681 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.6293, allocations: 12.05 kB / 0.681 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003213/0.6296, allocations: 8 kB / 0.681 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.6297, allocations: 19.97 kB / 0.681 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.6297, allocations: 15.98 kB / 0.681 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.553e-05/0.6298, allocations: 99.2 kB / 0.6811 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.6298, allocations: 0 / 0.6811 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009303/0.6307, allocations: 227.8 kB / 0.6813 GB, free: 5.234 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.001264/0.632, allocations: 439.5 kB / 0.6818 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005208/0.6325, allocations: 252.2 kB / 0.682 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.6326, allocations: 3.938 kB / 0.682 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.6328, allocations: 131.8 kB / 0.6821 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006436/0.6335, allocations: 76.72 kB / 0.6822 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.6347, allocations: 0.7398 MB / 0.6829 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.635, allocations: 0.7363 MB / 0.6836 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.6352, allocations: 35.42 kB / 0.6837 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.6352, allocations: 0 / 0.6837 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of Templates: time 0.01101/0.6462, allocations: 6.259 MB / 0.6898 GB, free: 12.51 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/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