Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001231/0.001231, allocations: 113.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001543/0.001544, allocations: 204 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 247.6 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2329/0.2329, allocations: 46.11 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 75.88 kB / 482 MB, free: 4.129 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3926, allocations: 62.44 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1745/0.5671, allocations: 152.8 MB / 0.6809 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003908/0.5711, allocations: 3.255 MB / 0.684 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.5712, allocations: 0 / 0.684 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.5716, allocations: 63.64 kB / 0.6841 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.5744, allocations: 1.073 MB / 0.6851 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005467/0.5749, allocations: 210.5 kB / 0.6853 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005061/0.5755, allocations: 358.7 kB / 0.6857 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.088e-05/0.5755, allocations: 13.11 kB / 0.6857 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004615/0.576, allocations: 163.4 kB / 0.6859 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.5763, allocations: 119.6 kB / 0.686 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.809e-05/0.5764, allocations: 12 kB / 0.686 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004239/0.5807, allocations: 1.523 MB / 0.6875 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.5808, allocations: 75.83 kB / 0.6875 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.5811, allocations: 119.5 kB / 0.6877 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002827/0.5839, allocations: 1.015 MB / 0.6886 GB, free: 424 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.5839, allocations: 4 kB / 0.6886 GB, free: 420 kB / 0.5294 GB Notification: Performance of FrontEnd: time 3.096e-06/0.5839, allocations: 3.938 kB / 0.6887 GB, free: 416 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.584, allocations: 0 / 0.6887 GB, free: 416 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001588/0.5855, allocations: 0.5384 MB / 0.6892 GB, free: 15.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.5856, allocations: 8.031 kB / 0.6892 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.5875, allocations: 212.5 kB / 0.6894 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/0.5879, allocations: 251.8 kB / 0.6896 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.588, allocations: 12.38 kB / 0.6896 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.307e-05/0.5881, allocations: 23.94 kB / 0.6897 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008342/0.5889, allocations: 388.1 kB / 0.69 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.5889, allocations: 0 / 0.69 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.361e-05/0.589, allocations: 11.98 kB / 0.69 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.589, allocations: 11.98 kB / 0.6901 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006687/0.5897, allocations: 428.3 kB / 0.6905 GB, free: 14.46 MB / 0.545 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.001869/0.5916, allocations: 0.8213 MB / 0.6913 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.5921, allocations: 229 kB / 0.6915 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.5923, allocations: 117.7 kB / 0.6916 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002205/0.5945, allocations: 0.9762 MB / 0.6925 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.5945, allocations: 42.81 kB / 0.6926 GB, free: 12.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 4.258e-06/0.5945, allocations: 0 / 0.6926 GB, free: 12.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001476/0.596, allocations: 379.6 kB / 0.693 GB, free: 11.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.5961, allocations: 81.11 kB / 0.693 GB, free: 11.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.5962, allocations: 113.8 kB / 0.6931 GB, free: 11.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.5963, allocations: 29.7 kB / 0.6932 GB, free: 11.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.415e-05/0.5963, allocations: 120.3 kB / 0.6933 GB, free: 11.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.5964, allocations: 110.4 kB / 0.6934 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.5966, allocations: 70 kB / 0.6935 GB, free: 11.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5967, allocations: 322.8 kB / 0.6938 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.5969, allocations: 104 kB / 0.6939 GB, free: 10.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.5972, allocations: 198.8 kB / 0.694 GB, free: 10.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/0.5978, allocations: 316.9 kB / 0.6944 GB, free: 10.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5978, allocations: 0 / 0.6944 GB, free: 10.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007838/0.5986, allocations: 359.5 kB / 0.6947 GB, free: 9.734 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.5986, allocations: 7.938 kB / 0.6947 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.5986, allocations: 4 kB / 0.6947 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.5986, allocations: 4 kB / 0.6947 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.599, allocations: 71.91 kB / 0.6948 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.599, allocations: 4.312 kB / 0.6948 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.5993, allocations: 35.67 kB / 0.6948 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/0.5993, allocations: 24 kB / 0.6948 GB, free: 9.586 MB / 0.545 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 (40): * Single equations (assignments): 39 * Array equations: 1 * 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.0001609/0.5995, allocations: 145.6 kB / 0.695 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.5996, allocations: 11.91 kB / 0.695 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007263/0.6004, allocations: 338.5 kB / 0.6953 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.6004, allocations: 3.984 kB / 0.6953 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6004, allocations: 0 / 0.6953 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.117e-05/0.6005, allocations: 96.8 kB / 0.6954 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.6005, allocations: 8 kB / 0.6954 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.6009, allocations: 19.92 kB / 0.6954 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.6009, allocations: 23.97 kB / 0.6955 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008969/0.6018, allocations: 423.7 kB / 0.6959 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009507/0.6028, allocations: 0.5759 MB / 0.6964 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002011/0.603, allocations: 99.61 kB / 0.6965 GB, free: 7.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.966e-05/0.6031, allocations: 91.22 kB / 0.6966 GB, free: 7.719 MB / 0.545 GB Notification: Performance of Backend: time 1.072e-06/0.6031, allocations: 0 / 0.6966 GB, free: 7.719 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002221/0.6053, allocations: 0.6098 MB / 0.6972 GB, free: 7.105 MB / 0.545 GB Notification: Performance of SimCode: time 0.001437/0.6068, allocations: 1.149 MB / 0.6983 GB, free: 5.902 MB / 0.545 GB Notification: Performance of Templates: time 0.01765/0.6245, allocations: 8.881 MB / 0.707 GB, free: 13.03 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches