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.00114/0.00114, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 214.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 71.88 kB / 482 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3597, allocations: 62.44 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1663/0.5261, allocations: 152.4 MB / 0.6805 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.5282, allocations: 1.604 MB / 0.6821 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.313e-05/0.5283, allocations: 0 / 0.6821 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.5287, allocations: 51.72 kB / 0.6821 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.5298, allocations: 398.1 kB / 0.6825 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.5303, allocations: 186.4 kB / 0.6827 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.5306, allocations: 187.2 kB / 0.6829 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.5307, allocations: 4 kB / 0.6829 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.5309, allocations: 79.69 kB / 0.6829 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.531, allocations: 55.77 kB / 0.683 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.5311, allocations: 8 kB / 0.683 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.5322, allocations: 0.6003 MB / 0.6836 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.9e-05/0.5323, allocations: 31.84 kB / 0.6836 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.048e-05/0.5324, allocations: 55.78 kB / 0.6837 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007366/0.5331, allocations: 396.8 kB / 0.6841 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.788e-06/0.5331, allocations: 3.938 kB / 0.6841 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5331, allocations: 0 / 0.6841 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.5332, allocations: 0 / 0.6841 GB, free: 5.125 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.0006186/0.5338, allocations: 435.3 kB / 0.6845 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.5338, allocations: 8.031 kB / 0.6845 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002427/0.5363, allocations: 204.6 kB / 0.6847 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.5365, allocations: 207.8 kB / 0.6849 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.5365, allocations: 8 kB / 0.6849 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.5366, allocations: 8 kB / 0.6849 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.5371, allocations: 201.5 kB / 0.6851 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.5371, allocations: 4 kB / 0.6851 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.5372, allocations: 4 kB / 0.6851 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.5372, allocations: 7.938 kB / 0.6851 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005756/0.5378, allocations: 231.8 kB / 0.6853 GB, free: 3.742 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.001798/0.5396, allocations: 0.6667 MB / 0.686 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.54, allocations: 190.4 kB / 0.6862 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.5402, allocations: 92.81 kB / 0.6862 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.5404, allocations: 85.09 kB / 0.6863 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.5404, allocations: 38.56 kB / 0.6864 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.5404, allocations: 4 kB / 0.6864 GB, free: 2.578 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.005887/0.5463, allocations: 1.543 MB / 0.6879 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.5464, allocations: 55.41 kB / 0.6879 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.899e-05/0.5465, allocations: 117.8 kB / 0.688 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.5465, allocations: 29.64 kB / 0.6881 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.94e-05/0.5466, allocations: 100.3 kB / 0.6882 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.304e-05/0.5467, allocations: 63.09 kB / 0.6882 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.111e-05/0.5468, allocations: 41.61 kB / 0.6883 GB, free: 496 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.5469, allocations: 330.8 kB / 0.6886 GB, free: 156 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.5471, allocations: 87.95 kB / 0.6887 GB, free: 68 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.5474, allocations: 123.4 kB / 0.6888 GB, free: 15.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.5479, allocations: 226.8 kB / 0.689 GB, free: 15.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5479, allocations: 4 kB / 0.689 GB, free: 15.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006336/0.5485, allocations: 282.2 kB / 0.6893 GB, free: 15.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5485, allocations: 4 kB / 0.6893 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5486, allocations: 4.094 kB / 0.6893 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.5487, allocations: 24.84 kB / 0.6893 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.5492, allocations: 55.91 kB / 0.6893 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003561/0.5495, allocations: 0.5367 MB / 0.6899 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/0.5499, allocations: 15.95 kB / 0.6899 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.5499, allocations: 12.09 kB / 0.6899 GB, free: 14.73 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.000135/0.5501, allocations: 121.8 kB / 0.69 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.5501, allocations: 7.906 kB / 0.69 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007439/0.5509, allocations: 323 kB / 0.6903 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5509, allocations: 0 / 0.6903 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.5509, allocations: 0 / 0.6903 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.551, allocations: 3.984 kB / 0.6903 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.5521, allocations: 0.6834 MB / 0.691 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.5521, allocations: 0 / 0.691 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000471/0.5526, allocations: 51.95 kB / 0.6911 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-05/0.5527, allocations: 20.78 kB / 0.6911 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.5527, allocations: 8 kB / 0.6911 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009695/0.5537, allocations: 1.365 MB / 0.6924 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5537, allocations: 4.188 kB / 0.6924 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008724/0.5546, allocations: 453.3 kB / 0.6928 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.5547, allocations: 97.03 kB / 0.6929 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.5547, allocations: 8 kB / 0.6929 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.5551, allocations: 4 kB / 0.693 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.5551, allocations: 23.97 kB / 0.693 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.5551, allocations: 11.98 kB / 0.693 GB, free: 11.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.93e-05/0.5552, allocations: 87.28 kB / 0.6931 GB, free: 11.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5552, allocations: 0 / 0.6931 GB, free: 11.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005275/0.5557, allocations: 135.9 kB / 0.6932 GB, free: 11.07 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.0006571/0.5564, allocations: 258.8 kB / 0.6934 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006095/0.557, allocations: 235.8 kB / 0.6937 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.557, allocations: 0 / 0.6937 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003904/0.5574, allocations: 228.9 kB / 0.6939 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.5579, allocations: 48.81 kB / 0.6939 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009053/0.5588, allocations: 0.4968 MB / 0.6944 GB, free: 9.762 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.5591, allocations: 0.7124 MB / 0.6951 GB, free: 9.023 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.5593, allocations: 27.42 kB / 0.6951 GB, free: 8.996 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5593, allocations: 0 / 0.6951 GB, free: 8.996 MB / 0.545 GB Notification: Performance of Templates: time 0.00827/0.5676, allocations: 5.181 MB / 0.7002 GB, free: 3.809 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches