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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001371/0.001371, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001695/0.001695, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2084/0.2084, allocations: 46.92 MB / 361.5 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 79.88 kB / 0.4974 GB, free: 7.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2809, allocations: 66.08 MB / 0.5619 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.176/0.4568, allocations: 152.9 MB / 0.7113 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002161/0.459, allocations: 1.6 MB / 0.7129 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.077e-05/0.4591, allocations: 0 / 0.7129 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.4594, allocations: 55.66 kB / 0.7129 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.4605, allocations: 414.1 kB / 0.7133 GB, free: 8.656 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.461, allocations: 177.5 kB / 0.7135 GB, free: 8.488 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.4612, allocations: 191.2 kB / 0.7137 GB, free: 8.301 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.664e-05/0.4613, allocations: 7.938 kB / 0.7137 GB, free: 8.293 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.4615, allocations: 83.62 kB / 0.7137 GB, free: 8.211 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.4616, allocations: 63.75 kB / 0.7138 GB, free: 8.148 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.4617, allocations: 8 kB / 0.7138 GB, free: 8.141 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.4629, allocations: 0.6275 MB / 0.7144 GB, free: 7.512 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.837e-05/0.463, allocations: 35.89 kB / 0.7145 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.353e-05/0.463, allocations: 51.8 kB / 0.7145 GB, free: 7.426 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008165/0.4639, allocations: 410.6 kB / 0.7149 GB, free: 7.027 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4639, allocations: 0 / 0.7149 GB, free: 7.027 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4639, allocations: 0 / 0.7149 GB, free: 7.027 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.4639, allocations: 0 / 0.7149 GB, free: 7.027 MB / 0.545 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.0006736/0.4646, allocations: 361.8 kB / 0.7152 GB, free: 6.645 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.4646, allocations: 8.031 kB / 0.7153 GB, free: 6.637 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002197/0.4668, allocations: 204.6 kB / 0.7154 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.4671, allocations: 154 kB / 0.7156 GB, free: 6.262 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.4671, allocations: 11.94 kB / 0.7156 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/0.4672, allocations: 8 kB / 0.7156 GB, free: 6.242 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.4677, allocations: 200.9 kB / 0.7158 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.4677, allocations: 0 / 0.7158 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.4677, allocations: 3.938 kB / 0.7158 GB, free: 6.039 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.4677, allocations: 11.94 kB / 0.7158 GB, free: 6.027 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005874/0.4683, allocations: 235.8 kB / 0.716 GB, free: 5.797 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.001826/0.4701, allocations: 0.6057 MB / 0.7166 GB, free: 5.148 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.4706, allocations: 186.5 kB / 0.7168 GB, free: 4.957 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.4708, allocations: 92.8 kB / 0.7169 GB, free: 4.863 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.4709, allocations: 15.97 kB / 0.7169 GB, free: 4.848 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.471, allocations: 38.56 kB / 0.717 GB, free: 4.801 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.471, allocations: 0 / 0.717 GB, free: 4.801 MB / 0.545 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.005651/0.4766, allocations: 1.39 MB / 0.7183 GB, free: 3.332 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.4767, allocations: 55.41 kB / 0.7184 GB, free: 3.266 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.4768, allocations: 109.8 kB / 0.7185 GB, free: 3.148 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.4768, allocations: 33.7 kB / 0.7185 GB, free: 3.109 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.4769, allocations: 92.42 kB / 0.7186 GB, free: 3.016 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.217e-05/0.477, allocations: 75.34 kB / 0.7187 GB, free: 2.941 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.343e-05/0.477, allocations: 41.7 kB / 0.7187 GB, free: 2.895 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4772, allocations: 322.8 kB / 0.719 GB, free: 2.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.4774, allocations: 95.95 kB / 0.7191 GB, free: 2.477 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.4777, allocations: 123.3 kB / 0.7192 GB, free: 2.344 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.4781, allocations: 231.2 kB / 0.7194 GB, free: 2.105 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4781, allocations: 0 / 0.7194 GB, free: 2.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006148/0.4787, allocations: 281.3 kB / 0.7197 GB, free: 1.824 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.4788, allocations: 7.984 kB / 0.7197 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4788, allocations: 0 / 0.7197 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001337/0.4789, allocations: 36.81 kB / 0.7198 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.4794, allocations: 47.97 kB / 0.7198 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004005/0.4798, allocations: 0.5367 MB / 0.7203 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.48, allocations: 15.95 kB / 0.7203 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.4801, allocations: 8 kB / 0.7203 GB, free: 1.145 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.0001363/0.4802, allocations: 123.2 kB / 0.7205 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.801e-05/0.4803, allocations: 11.95 kB / 0.7205 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000723/0.481, allocations: 319 kB / 0.7208 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.481, allocations: 4 kB / 0.7208 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.481, allocations: 0 / 0.7208 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.481, allocations: 0 / 0.7208 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.4822, allocations: 0.6534 MB / 0.7214 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4822, allocations: 0 / 0.7214 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004493/0.4826, allocations: 51.89 kB / 0.7215 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.024e-05/0.4827, allocations: 20.84 kB / 0.7215 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.4827, allocations: 8 kB / 0.7215 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.4837, allocations: 1.263 MB / 0.7227 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4837, allocations: 4.031 kB / 0.7227 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008483/0.4846, allocations: 450.8 kB / 0.7232 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.4846, allocations: 7.984 kB / 0.7232 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.4846, allocations: 8.062 kB / 0.7232 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.4849, allocations: 11.98 kB / 0.7232 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.485, allocations: 19.97 kB / 0.7232 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.485, allocations: 11.98 kB / 0.7232 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.682e-05/0.4851, allocations: 87.58 kB / 0.7233 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.4851, allocations: 3.938 kB / 0.7233 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005829/0.4857, allocations: 135.7 kB / 0.7234 GB, free: 13.75 MB / 0.5606 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.0007071/0.4864, allocations: 266.7 kB / 0.7237 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006143/0.487, allocations: 238.2 kB / 0.7239 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.487, allocations: 0 / 0.7239 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004181/0.4874, allocations: 226.5 kB / 0.7241 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.4878, allocations: 48.27 kB / 0.7242 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009499/0.4888, allocations: 0.4926 MB / 0.7247 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.4891, allocations: 0.7125 MB / 0.7254 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.4893, allocations: 27.42 kB / 0.7254 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of SimCode: time 6.22e-07/0.4893, allocations: 4 kB / 0.7254 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.008873/0.4982, allocations: 5.195 MB / 0.7305 GB, free: 6.465 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.884871231857687]