Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.006131/0.006131, allocations: 105.6 kB / 21.98 MB, free: 5.223 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.001478/0.001478, allocations: 215.9 kB / 25.29 MB, free: 3.203 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.477/1.477, allocations: 230.5 MB / 258.9 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2244/0.2244, allocations: 46.92 MB / 362.3 MB, free: 4.207 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 79.86 kB / 0.4982 GB, free: 7.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3409, allocations: 66.07 MB / 0.5627 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.193/0.5339, allocations: 152.8 MB / 0.7119 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.5355, allocations: 1.059 MB / 0.7129 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.717e-05/0.5355, allocations: 0 / 0.7129 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.5358, allocations: 39.75 kB / 0.713 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007543/0.5366, allocations: 274.5 kB / 0.7132 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.537, allocations: 125.7 kB / 0.7133 GB, free: 9.422 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.5374, allocations: 183.2 kB / 0.7135 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.22e-05/0.5374, allocations: 4 kB / 0.7135 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.5377, allocations: 99.56 kB / 0.7136 GB, free: 9.141 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.5378, allocations: 59.75 kB / 0.7137 GB, free: 9.082 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.5378, allocations: 4 kB / 0.7137 GB, free: 9.078 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000612/0.5384, allocations: 267.7 kB / 0.7139 GB, free: 8.816 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.5385, allocations: 35.89 kB / 0.714 GB, free: 8.781 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.112e-05/0.5386, allocations: 39.88 kB / 0.714 GB, free: 8.742 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005115/0.5391, allocations: 282.9 kB / 0.7143 GB, free: 8.469 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.5391, allocations: 0 / 0.7143 GB, free: 8.469 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5391, allocations: 0 / 0.7143 GB, free: 8.469 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.5391, allocations: 0 / 0.7143 GB, free: 8.469 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.0006812/0.5398, allocations: 337.8 kB / 0.7146 GB, free: 8.109 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.5399, allocations: 12.03 kB / 0.7146 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/0.5419, allocations: 196.6 kB / 0.7148 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.5423, allocations: 157.7 kB / 0.7149 GB, free: 7.727 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.5423, allocations: 8 kB / 0.715 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.5424, allocations: 4 kB / 0.715 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/0.5429, allocations: 224 kB / 0.7152 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5429, allocations: 4 kB / 0.7152 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.5429, allocations: 4 kB / 0.7152 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5429, allocations: 0 / 0.7152 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004402/0.5434, allocations: 167.9 kB / 0.7153 GB, free: 7.309 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.001117/0.5445, allocations: 0.5589 MB / 0.7159 GB, free: 6.699 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.5448, allocations: 130.5 kB / 0.716 GB, free: 6.562 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.545, allocations: 76.73 kB / 0.7161 GB, free: 6.484 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.545, allocations: 7.984 kB / 0.7161 GB, free: 6.477 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.5451, allocations: 34.56 kB / 0.7161 GB, free: 6.434 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.5451, allocations: 0 / 0.7161 GB, free: 6.434 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.005253/0.5503, allocations: 1.165 MB / 0.7173 GB, free: 5.219 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.5504, allocations: 59.34 kB / 0.7173 GB, free: 5.148 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.5505, allocations: 109.8 kB / 0.7174 GB, free: 5.031 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.5505, allocations: 33.7 kB / 0.7175 GB, free: 4.992 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.5506, allocations: 95.98 kB / 0.7175 GB, free: 4.895 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.5507, allocations: 71.41 kB / 0.7176 GB, free: 4.824 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.5508, allocations: 61.64 kB / 0.7177 GB, free: 4.758 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.5509, allocations: 326.8 kB / 0.718 GB, free: 4.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.5511, allocations: 63.97 kB / 0.718 GB, free: 4.367 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.5513, allocations: 111.2 kB / 0.7181 GB, free: 4.246 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.5516, allocations: 171.3 kB / 0.7183 GB, free: 4.066 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5516, allocations: 4 kB / 0.7183 GB, free: 4.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000529/0.5522, allocations: 258.3 kB / 0.7186 GB, free: 3.801 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.5522, allocations: 4 kB / 0.7186 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5522, allocations: 4 kB / 0.7186 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001959/0.5524, allocations: 52.77 kB / 0.7186 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.5527, allocations: 55.95 kB / 0.7187 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004948/0.5532, allocations: 0.5641 MB / 0.7192 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.5534, allocations: 12.02 kB / 0.7192 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.5534, allocations: 20 kB / 0.7193 GB, free: 3.062 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.0001408/0.5536, allocations: 124.8 kB / 0.7194 GB, free: 2.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.5536, allocations: 7.953 kB / 0.7194 GB, free: 2.926 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008109/0.5544, allocations: 355 kB / 0.7197 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.5545, allocations: 4 kB / 0.7197 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.5545, allocations: 4 kB / 0.7197 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5545, allocations: 0 / 0.7197 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.5555, allocations: 0.5909 MB / 0.7203 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.5556, allocations: 4 kB / 0.7203 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.5559, allocations: 63.98 kB / 0.7204 GB, free: 1.848 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.372e-05/0.556, allocations: 20.84 kB / 0.7204 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.556, allocations: 15.98 kB / 0.7204 GB, free: 1.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.5571, allocations: 1.263 MB / 0.7216 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5571, allocations: 0 / 0.7216 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000756/0.5578, allocations: 434.7 kB / 0.7221 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.5579, allocations: 7.984 kB / 0.7221 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.5579, allocations: 12 kB / 0.7221 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.5581, allocations: 8 kB / 0.7221 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.5582, allocations: 27.94 kB / 0.7221 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-05/0.5582, allocations: 24 kB / 0.7221 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.661e-05/0.5583, allocations: 95.33 kB / 0.7222 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5583, allocations: 3.938 kB / 0.7222 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00041/0.5587, allocations: 83.81 kB / 0.7223 GB, free: 15.72 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.0003799/0.5591, allocations: 159 kB / 0.7225 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005153/0.5596, allocations: 191.2 kB / 0.7226 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5596, allocations: 0 / 0.7226 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.5599, allocations: 228.7 kB / 0.7229 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.5604, allocations: 46.67 kB / 0.7229 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009338/0.5613, allocations: 0.4981 MB / 0.7234 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.5617, allocations: 0.7047 MB / 0.7241 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.5619, allocations: 59.41 kB / 0.7241 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.5619, allocations: 0 / 0.7241 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of Templates: time 0.007142/0.569, allocations: 3.885 MB / 0.7279 GB, free: 9.871 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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: 8.460778861073777]