Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001572/0.001571, allocations: 194 kB / 18.77 MB, free: 4.742 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.378/1.378, allocations: 222.9 MB / 242.5 MB, free: 15.46 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.2078/0.2078, allocations: 44.18 MB / 336.8 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.95 kB / 408.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1354, allocations: 60.83 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.411/0.5464, allocations: 147.4 MB / 0.6021 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.5484, allocations: 1.637 MB / 0.6037 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.5485, allocations: 0 / 0.6037 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.5488, allocations: 54.53 kB / 0.6037 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007892/0.5497, allocations: 362.4 kB / 0.6041 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.5501, allocations: 155.5 kB / 0.6042 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.5504, allocations: 239.2 kB / 0.6045 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.5504, allocations: 7.938 kB / 0.6045 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.5506, allocations: 77.66 kB / 0.6045 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.5508, allocations: 67.77 kB / 0.6046 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.5508, allocations: 4 kB / 0.6046 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.5519, allocations: 0.7054 MB / 0.6053 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.408e-05/0.552, allocations: 31.91 kB / 0.6053 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.5521, allocations: 47.73 kB / 0.6054 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.5525, allocations: 291.4 kB / 0.6056 GB, free: 10.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5525, allocations: 0 / 0.6056 GB, free: 10.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.5525, allocations: 0 / 0.6056 GB, free: 10.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.5525, allocations: 0 / 0.6056 GB, free: 10.34 MB / 446.1 MB 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.000571/0.5531, allocations: 435.4 kB / 0.6061 GB, free: 9.871 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.5532, allocations: 8.031 kB / 0.6061 GB, free: 9.863 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/0.5554, allocations: 192.6 kB / 0.6063 GB, free: 9.676 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.5557, allocations: 212.2 kB / 0.6065 GB, free: 9.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.5557, allocations: 11.94 kB / 0.6065 GB, free: 9.418 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.5558, allocations: 8 kB / 0.6065 GB, free: 9.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004836/0.5562, allocations: 205.4 kB / 0.6067 GB, free: 9.203 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.5563, allocations: 0 / 0.6067 GB, free: 9.203 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.5563, allocations: 4 kB / 0.6067 GB, free: 9.199 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.5563, allocations: 0 / 0.6067 GB, free: 9.199 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006008/0.5569, allocations: 239.8 kB / 0.6069 GB, free: 8.965 MB / 446.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.001742/0.5587, allocations: 0.6689 MB / 0.6076 GB, free: 8.238 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.5591, allocations: 186.4 kB / 0.6077 GB, free: 8.047 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.5594, allocations: 96.69 kB / 0.6078 GB, free: 7.953 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/0.5596, allocations: 93.09 kB / 0.6079 GB, free: 7.844 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.5596, allocations: 38.56 kB / 0.608 GB, free: 7.797 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.5596, allocations: 0 / 0.608 GB, free: 7.797 MB / 446.1 MB 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.005882/0.5655, allocations: 1.535 MB / 0.6095 GB, free: 6.152 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.5656, allocations: 55.41 kB / 0.6095 GB, free: 6.086 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.665e-05/0.5657, allocations: 109.8 kB / 0.6096 GB, free: 5.969 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.5657, allocations: 33.7 kB / 0.6096 GB, free: 5.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.5658, allocations: 100.3 kB / 0.6097 GB, free: 5.828 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.459e-05/0.5658, allocations: 71.02 kB / 0.6098 GB, free: 5.758 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.5659, allocations: 41.7 kB / 0.6098 GB, free: 5.711 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.5661, allocations: 322.8 kB / 0.6102 GB, free: 5.387 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.5663, allocations: 87.95 kB / 0.6102 GB, free: 5.301 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.5666, allocations: 127 kB / 0.6104 GB, free: 5.168 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/0.5671, allocations: 228.8 kB / 0.6106 GB, free: 4.934 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.5671, allocations: 0 / 0.6106 GB, free: 4.934 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006233/0.5677, allocations: 292.9 kB / 0.6109 GB, free: 4.641 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.5678, allocations: 7.984 kB / 0.6109 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.5678, allocations: 0 / 0.6109 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001302/0.5679, allocations: 20.84 kB / 0.6109 GB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/0.5684, allocations: 55.91 kB / 0.6109 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004123/0.5688, allocations: 0.5369 MB / 0.6115 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.5692, allocations: 8.016 kB / 0.6115 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.5692, allocations: 15.94 kB / 0.6115 GB, free: 3.969 MB / 446.1 MB 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.0001482/0.5694, allocations: 125.8 kB / 0.6116 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/0.5694, allocations: 8.781 kB / 0.6116 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008026/0.5703, allocations: 315.2 kB / 0.6119 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.5703, allocations: 7.875 kB / 0.6119 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5703, allocations: 0 / 0.6119 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5703, allocations: 0 / 0.6119 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.5714, allocations: 0.6794 MB / 0.6126 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5714, allocations: 0 / 0.6126 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004676/0.5719, allocations: 49.45 kB / 0.6126 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.756e-05/0.572, allocations: 24.94 kB / 0.6127 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.572, allocations: 8 kB / 0.6127 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009393/0.573, allocations: 1.264 MB / 0.6139 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.573, allocations: 8.031 kB / 0.6139 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008687/0.5739, allocations: 459.2 kB / 0.6143 GB, free: 0.793 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.5739, allocations: 85.05 kB / 0.6144 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.574, allocations: 15.92 kB / 0.6144 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.5743, allocations: 4 kB / 0.6144 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.5744, allocations: 23.91 kB / 0.6145 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.5744, allocations: 8 kB / 0.6145 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.361e-05/0.5744, allocations: 87.33 kB / 0.6146 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5745, allocations: 8 kB / 0.6146 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005518/0.575, allocations: 139.8 kB / 0.6147 GB, free: 420 kB / 446.1 MB 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.0007848/0.5758, allocations: 255.6 kB / 0.6149 GB, free: 156 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006743/0.5765, allocations: 226.8 kB / 0.6152 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5765, allocations: 3.938 kB / 0.6152 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004107/0.5769, allocations: 231 kB / 0.6154 GB, free: 15.69 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.5774, allocations: 51.89 kB / 0.6154 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009645/0.5784, allocations: 0.5369 MB / 0.616 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.5787, allocations: 0.7087 MB / 0.6166 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.5789, allocations: 27.42 kB / 0.6167 GB, free: 14.3 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5789, allocations: 4 kB / 0.6167 GB, free: 14.3 MB / 462.1 MB Notification: Performance of Templates: time 0.00869/0.5876, allocations: 5.07 MB / 0.6216 GB, free: 9.227 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches