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.001367/0.001367, allocations: 110.1 kB / 17.04 MB, free: 5.816 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.001711/0.001711, allocations: 196 kB / 17.98 MB, free: 5.027 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.548/1.548, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2272/0.2272, allocations: 43.52 MB / 314.7 MB, free: 480 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.001664/0.001664, allocations: 65.2 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1478, allocations: 57.79 MB / 442 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5742/0.7221, allocations: 151.2 MB / 0.5792 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003863/0.726, allocations: 3.035 MB / 0.5822 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.7262, allocations: 2.781 kB / 0.5822 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004972/0.7267, allocations: 60.81 kB / 0.5823 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003146/0.7299, allocations: 1.005 MB / 0.5832 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006277/0.7306, allocations: 200.2 kB / 0.5834 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005422/0.7311, allocations: 350.5 kB / 0.5838 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.893e-05/0.7312, allocations: 16.48 kB / 0.5838 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.7315, allocations: 150.8 kB / 0.5839 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.7317, allocations: 109.7 kB / 0.584 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.7317, allocations: 12.72 kB / 0.584 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003274/0.735, allocations: 1.456 MB / 0.5855 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.7351, allocations: 79.69 kB / 0.5855 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.7353, allocations: 103.6 kB / 0.5856 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002147/0.7374, allocations: 0.9857 MB / 0.5866 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.7375, allocations: 0 / 0.5866 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.7375, allocations: 0 / 0.5866 GB, free: 11.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.7375, allocations: 0 / 0.5866 GB, free: 11.38 MB / 430.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.00109/0.7386, allocations: 0.549 MB / 0.5871 GB, free: 10.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.7387, allocations: 10.06 kB / 0.5872 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.7403, allocations: 202.5 kB / 0.5873 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004544/0.7408, allocations: 247.9 kB / 0.5876 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.7408, allocations: 11.66 kB / 0.5876 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.403e-05/0.7409, allocations: 27 kB / 0.5876 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000718/0.7416, allocations: 377.9 kB / 0.588 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.7416, allocations: 4 kB / 0.588 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/0.7417, allocations: 13.62 kB / 0.588 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.7417, allocations: 4.781 kB / 0.588 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006337/0.7423, allocations: 414.4 kB / 0.5884 GB, free: 10.38 MB / 430.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.001812/0.7442, allocations: 0.8044 MB / 0.5892 GB, free: 9.887 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.7446, allocations: 213.9 kB / 0.5894 GB, free: 9.816 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.7447, allocations: 129.3 kB / 0.5895 GB, free: 9.781 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001846/0.7466, allocations: 0.8959 MB / 0.5904 GB, free: 8.945 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.7467, allocations: 37 kB / 0.5904 GB, free: 8.906 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 2.415e-06/0.7467, allocations: 0 / 0.5904 GB, free: 8.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=29): time 0.001221/0.7479, allocations: 357 kB / 0.5908 GB, free: 8.816 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.748, allocations: 80.08 kB / 0.5908 GB, free: 8.723 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.658e-05/0.7481, allocations: 113.5 kB / 0.5909 GB, free: 8.621 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.7481, allocations: 33.27 kB / 0.591 GB, free: 8.586 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.7482, allocations: 112.7 kB / 0.5911 GB, free: 8.477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.115e-05/0.7483, allocations: 106.9 kB / 0.5912 GB, free: 8.398 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.7484, allocations: 59.5 kB / 0.5912 GB, free: 8.379 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.7485, allocations: 328.6 kB / 0.5916 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.7487, allocations: 97.05 kB / 0.5916 GB, free: 8.047 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.749, allocations: 191.3 kB / 0.5918 GB, free: 7.922 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004228/0.7494, allocations: 304.8 kB / 0.5921 GB, free: 7.797 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.7494, allocations: 0 / 0.5921 GB, free: 7.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005851/0.75, allocations: 347.1 kB / 0.5925 GB, free: 7.703 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.75, allocations: 6.531 kB / 0.5925 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.75, allocations: 4.281 kB / 0.5925 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.7501, allocations: 3.312 kB / 0.5925 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/0.7504, allocations: 79.7 kB / 0.5925 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.7504, allocations: 9.812 kB / 0.5926 GB, free: 7.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.7507, allocations: 25.06 kB / 0.5926 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.7507, allocations: 23.94 kB / 0.5926 GB, free: 7.66 MB / 430.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.0001523/0.7509, allocations: 138.7 kB / 0.5927 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.922e-05/0.751, allocations: 17.41 kB / 0.5927 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006342/0.7516, allocations: 331.5 kB / 0.5931 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.7517, allocations: 2.719 kB / 0.5931 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.7517, allocations: 6.109 kB / 0.5931 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.7517, allocations: 3.938 kB / 0.5931 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005868/0.7523, allocations: 334 kB / 0.5934 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.7523, allocations: 4 kB / 0.5934 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/0.7526, allocations: 58 kB / 0.5935 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.7526, allocations: 2.812 kB / 0.5935 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.7527, allocations: 7.469 kB / 0.5935 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.7527, allocations: 2.5 kB / 0.5935 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7527, allocations: 0 / 0.5935 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007396/0.7534, allocations: 0.5082 MB / 0.594 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.352e-05/0.7535, allocations: 93.52 kB / 0.594 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.7536, allocations: 10.27 kB / 0.5941 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.7539, allocations: 8.031 kB / 0.5941 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.7539, allocations: 21.31 kB / 0.5941 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.754, allocations: 14.3 kB / 0.5941 GB, free: 6.773 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.643e-05/0.7541, allocations: 93.7 kB / 0.5942 GB, free: 6.695 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7541, allocations: 3.938 kB / 0.5942 GB, free: 6.691 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001184/0.7553, allocations: 225.9 kB / 0.5944 GB, free: 6.648 MB / 430.1 MB 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.001081/0.7564, allocations: 422.2 kB / 0.5948 GB, free: 6.438 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005161/0.7569, allocations: 251.2 kB / 0.5951 GB, free: 6.402 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7569, allocations: 8 kB / 0.5951 GB, free: 6.395 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.7571, allocations: 130.3 kB / 0.5952 GB, free: 6.375 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006197/0.7578, allocations: 87.83 kB / 0.5953 GB, free: 6.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.7591, allocations: 0.7284 MB / 0.596 GB, free: 5.824 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.7595, allocations: 0.7322 MB / 0.5967 GB, free: 5.109 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002963/0.7598, allocations: 79.62 kB / 0.5968 GB, free: 5.059 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.714e-05/0.7599, allocations: 35.22 kB / 0.5968 GB, free: 5.043 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.7599, allocations: 0 / 0.5968 GB, free: 5.043 MB / 430.1 MB Notification: Performance of Templates: time 0.01567/0.7756, allocations: 8.224 MB / 0.6048 GB, free: 0.9141 MB / 430.1 MB 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 -s cvode -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