Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.001443/0.001443, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001618/0.001618, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.318/1.318, allocations: 230.5 MB / 258.1 MB, free: 8.008 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.2049/0.2049, allocations: 46.93 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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003146/0.003146, allocations: 79.86 kB / 0.4974 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2858, allocations: 66.07 MB / 0.5619 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1724/0.4582, allocations: 152.8 MB / 0.7111 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.4596, allocations: 1.051 MB / 0.7121 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.332e-05/0.4597, allocations: 0 / 0.7121 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.4599, allocations: 35.73 kB / 0.7122 GB, free: 9.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006336/0.4605, allocations: 282.5 kB / 0.7124 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.4608, allocations: 126.5 kB / 0.7126 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.4611, allocations: 171.3 kB / 0.7127 GB, free: 9.207 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.4611, allocations: 11.98 kB / 0.7127 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.4613, allocations: 103.5 kB / 0.7128 GB, free: 9.094 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.4614, allocations: 59.77 kB / 0.7129 GB, free: 9.035 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.4615, allocations: 4 kB / 0.7129 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004995/0.4619, allocations: 275.7 kB / 0.7132 GB, free: 8.762 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.462, allocations: 19.92 kB / 0.7132 GB, free: 8.742 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.543e-05/0.4621, allocations: 47.84 kB / 0.7132 GB, free: 8.695 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004091/0.4625, allocations: 278 kB / 0.7135 GB, free: 8.426 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4625, allocations: 0 / 0.7135 GB, free: 8.426 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4625, allocations: 0 / 0.7135 GB, free: 8.426 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.4625, allocations: 4 kB / 0.7135 GB, free: 8.422 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004834/0.463, allocations: 341.8 kB / 0.7138 GB, free: 8.059 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.463, allocations: 8.031 kB / 0.7138 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.465, allocations: 192.6 kB / 0.714 GB, free: 7.863 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.4653, allocations: 157.7 kB / 0.7142 GB, free: 7.684 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.4653, allocations: 8 kB / 0.7142 GB, free: 7.676 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.4653, allocations: 12 kB / 0.7142 GB, free: 7.664 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/0.4658, allocations: 222.8 kB / 0.7144 GB, free: 7.434 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4658, allocations: 0 / 0.7144 GB, free: 7.434 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.4658, allocations: 8 kB / 0.7144 GB, free: 7.426 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4658, allocations: 3.984 kB / 0.7144 GB, free: 7.422 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004218/0.4663, allocations: 169.9 kB / 0.7146 GB, free: 7.258 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.001003/0.4673, allocations: 0.555 MB / 0.7151 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.4676, allocations: 130.5 kB / 0.7152 GB, free: 6.516 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.4677, allocations: 76.77 kB / 0.7153 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.4678, allocations: 4 kB / 0.7153 GB, free: 6.434 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.4678, allocations: 34.5 kB / 0.7153 GB, free: 6.391 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.4678, allocations: 0 / 0.7153 GB, free: 6.391 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.004958/0.4727, allocations: 1.159 MB / 0.7165 GB, free: 5.176 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.4728, allocations: 59.41 kB / 0.7165 GB, free: 5.105 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/0.4729, allocations: 105.8 kB / 0.7166 GB, free: 4.992 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.4729, allocations: 33.7 kB / 0.7167 GB, free: 4.953 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.473, allocations: 95.97 kB / 0.7168 GB, free: 4.855 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/0.473, allocations: 71.42 kB / 0.7168 GB, free: 4.785 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.4731, allocations: 57.64 kB / 0.7169 GB, free: 4.723 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4733, allocations: 330.8 kB / 0.7172 GB, free: 4.391 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.4734, allocations: 63.97 kB / 0.7173 GB, free: 4.328 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.4736, allocations: 107.2 kB / 0.7174 GB, free: 4.211 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.474, allocations: 187.3 kB / 0.7175 GB, free: 4.016 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.474, allocations: 0 / 0.7175 GB, free: 4.016 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004822/0.4744, allocations: 253.3 kB / 0.7178 GB, free: 3.762 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.4745, allocations: 7.984 kB / 0.7178 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4745, allocations: 4 kB / 0.7178 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001651/0.4746, allocations: 52.86 kB / 0.7178 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.4749, allocations: 51.97 kB / 0.7179 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004476/0.4754, allocations: 0.5679 MB / 0.7184 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.4756, allocations: 4.031 kB / 0.7185 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.4756, allocations: 31.92 kB / 0.7185 GB, free: 3.016 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.0001206/0.4757, allocations: 127.2 kB / 0.7186 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.4758, allocations: 7.953 kB / 0.7186 GB, free: 2.875 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007333/0.4765, allocations: 351.2 kB / 0.7189 GB, free: 2.527 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4765, allocations: 4 kB / 0.719 GB, free: 2.523 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.4765, allocations: 0 / 0.719 GB, free: 2.523 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.4765, allocations: 3.984 kB / 0.719 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009866/0.4775, allocations: 0.5909 MB / 0.7195 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4775, allocations: 4 kB / 0.7195 GB, free: 1.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.4778, allocations: 59.89 kB / 0.7196 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-05/0.4779, allocations: 20.84 kB / 0.7196 GB, free: 1.781 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.4779, allocations: 15.98 kB / 0.7196 GB, free: 1.766 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/0.4789, allocations: 1.267 MB / 0.7209 GB, free: 396 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.4789, allocations: 3.984 kB / 0.7209 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006905/0.4796, allocations: 433.4 kB / 0.7213 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.4796, allocations: 8.109 kB / 0.7213 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.4797, allocations: 16 kB / 0.7213 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.4799, allocations: 11.98 kB / 0.7213 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.4799, allocations: 23.97 kB / 0.7213 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.48, allocations: 23.98 kB / 0.7214 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.958e-05/0.48, allocations: 87.28 kB / 0.7214 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.48, allocations: 0 / 0.7214 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003812/0.4804, allocations: 91.61 kB / 0.7215 GB, free: 15.68 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 (21): * Single equations (assignments): 20 * 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.0003326/0.4808, allocations: 155 kB / 0.7217 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004833/0.4812, allocations: 191.2 kB / 0.7219 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4812, allocations: 0 / 0.7219 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.4816, allocations: 226.5 kB / 0.7221 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.482, allocations: 44.28 kB / 0.7221 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000848/0.4829, allocations: 0.4942 MB / 0.7226 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.4832, allocations: 0.7047 MB / 0.7233 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.4834, allocations: 63.39 kB / 0.7234 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.4834, allocations: 0 / 0.7234 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of Templates: time 0.006347/0.4897, allocations: 3.878 MB / 0.7271 GB, free: 9.836 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.683013869915158]