Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 197.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.24/0.24, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001549, allocations: 79.86 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3776, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1731/0.5508, allocations: 152.4 MB / 0.6798 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002055/0.5528, allocations: 1.6 MB / 0.6814 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.479e-05/0.553, allocations: 0 / 0.6814 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.5533, allocations: 47.72 kB / 0.6814 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.5544, allocations: 410 kB / 0.6818 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.555, allocations: 174.8 kB / 0.682 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.5553, allocations: 183.3 kB / 0.6822 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.5553, allocations: 8 kB / 0.6822 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.5555, allocations: 83.62 kB / 0.6823 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.5557, allocations: 51.83 kB / 0.6823 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.5557, allocations: 8 kB / 0.6823 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.557, allocations: 0.6041 MB / 0.6829 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.637e-05/0.5571, allocations: 27.91 kB / 0.6829 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.86e-05/0.5572, allocations: 51.78 kB / 0.683 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009466/0.5582, allocations: 400.8 kB / 0.6834 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.5582, allocations: 3.938 kB / 0.6834 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5582, allocations: 4 kB / 0.6834 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.5582, allocations: 0 / 0.6834 GB, free: 5.113 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007551/0.5589, allocations: 435.3 kB / 0.6838 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.559, allocations: 8.031 kB / 0.6838 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002396/0.5614, allocations: 196.6 kB / 0.684 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.5617, allocations: 211.8 kB / 0.6842 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.5617, allocations: 12 kB / 0.6842 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.5618, allocations: 4 kB / 0.6842 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004586/0.5622, allocations: 212.9 kB / 0.6844 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.5622, allocations: 0 / 0.6844 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.5623, allocations: 0 / 0.6844 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.5623, allocations: 7.938 kB / 0.6844 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005706/0.5629, allocations: 235.8 kB / 0.6846 GB, free: 3.73 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.001752/0.5646, allocations: 0.6667 MB / 0.6853 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/0.5651, allocations: 190.4 kB / 0.6855 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.5653, allocations: 100.8 kB / 0.6856 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/0.5655, allocations: 85.09 kB / 0.6857 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.5655, allocations: 38.56 kB / 0.6857 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.984e-06/0.5655, allocations: 0 / 0.6857 GB, free: 2.562 MB / 0.5294 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005679/0.5712, allocations: 1.533 MB / 0.6872 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.5712, allocations: 59.39 kB / 0.6872 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.992e-05/0.5713, allocations: 109.8 kB / 0.6873 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.5714, allocations: 37.7 kB / 0.6874 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.5714, allocations: 96.27 kB / 0.6875 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.55e-05/0.5715, allocations: 63.09 kB / 0.6875 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.259e-05/0.5716, allocations: 45.61 kB / 0.6876 GB, free: 484 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5717, allocations: 322.8 kB / 0.6879 GB, free: 152 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.572, allocations: 87.95 kB / 0.688 GB, free: 64 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.5723, allocations: 138.5 kB / 0.6881 GB, free: 15.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004835/0.5728, allocations: 218.8 kB / 0.6883 GB, free: 15.69 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.5728, allocations: 0 / 0.6883 GB, free: 15.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006489/0.5734, allocations: 290.2 kB / 0.6886 GB, free: 15.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.5735, allocations: 7.984 kB / 0.6886 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5735, allocations: 0 / 0.6886 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/0.5736, allocations: 20.84 kB / 0.6886 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004658/0.5741, allocations: 59.91 kB / 0.6887 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004082/0.5745, allocations: 0.5407 MB / 0.6892 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/0.5748, allocations: 11.95 kB / 0.6892 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.5749, allocations: 12 kB / 0.6892 GB, free: 14.72 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.575, allocations: 125.8 kB / 0.6893 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.497e-05/0.5751, allocations: 7.906 kB / 0.6894 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007695/0.5759, allocations: 319.1 kB / 0.6897 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.5759, allocations: 4 kB / 0.6897 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.5759, allocations: 0 / 0.6897 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5759, allocations: 4 kB / 0.6897 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.577, allocations: 0.6779 MB / 0.6903 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.5771, allocations: 0 / 0.6903 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.5775, allocations: 51.89 kB / 0.6904 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.635e-05/0.5776, allocations: 24.94 kB / 0.6904 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.5776, allocations: 8 kB / 0.6904 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009263/0.5785, allocations: 1.369 MB / 0.6917 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.5786, allocations: 4.031 kB / 0.6917 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008672/0.5794, allocations: 457.3 kB / 0.6922 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.5795, allocations: 89.03 kB / 0.6923 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.5795, allocations: 4 kB / 0.6923 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.5799, allocations: 12 kB / 0.6923 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.5799, allocations: 24.03 kB / 0.6923 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.58, allocations: 8 kB / 0.6923 GB, free: 11.28 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.504e-05/0.58, allocations: 91.27 kB / 0.6924 GB, free: 11.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.58, allocations: 0 / 0.6924 GB, free: 11.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005655/0.5806, allocations: 135.9 kB / 0.6925 GB, free: 11.05 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007671/0.5814, allocations: 254.8 kB / 0.6928 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006717/0.5821, allocations: 239.7 kB / 0.693 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5821, allocations: 192 / 0.693 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004403/0.5825, allocations: 230.6 kB / 0.6932 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005649/0.5831, allocations: 48.38 kB / 0.6933 GB, free: 10.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.5842, allocations: 485.7 kB / 0.6937 GB, free: 9.773 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.5846, allocations: 0.7046 MB / 0.6944 GB, free: 9.043 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003278/0.585, allocations: 53.39 kB / 0.6945 GB, free: 8.992 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.5851, allocations: 23.42 kB / 0.6945 GB, free: 8.969 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.5851, allocations: 0 / 0.6945 GB, free: 8.969 MB / 0.545 GB Notification: Performance of Templates: time 0.01249/0.5976, allocations: 6.271 MB / 0.7006 GB, free: 2.715 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches