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.001374/0.001374, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.001472/0.001472, allocations: 211.2 kB / 25.13 MB, free: 3.605 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.453/1.453, allocations: 230.4 MB / 258.7 MB, free: 8.059 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.2209/0.2209, allocations: 46.94 MB / 362.1 MB, free: 4.203 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.002334/0.002334, allocations: 83.86 kB / 0.4978 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3196, allocations: 66.08 MB / 0.5623 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2354/0.555, allocations: 150.7 MB / 0.7094 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.5565, allocations: 1.04 MB / 0.7105 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.5565, allocations: 0 / 0.7105 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.5568, allocations: 35.75 kB / 0.7105 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007375/0.5575, allocations: 286.2 kB / 0.7108 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.5579, allocations: 119.6 kB / 0.7109 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000279/0.5582, allocations: 183.2 kB / 0.7111 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.076e-05/0.5583, allocations: 7.984 kB / 0.7111 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.5585, allocations: 99.56 kB / 0.7112 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.5586, allocations: 55.81 kB / 0.7112 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.5586, allocations: 8 kB / 0.7112 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000539/0.5592, allocations: 263.7 kB / 0.7115 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.5592, allocations: 27.86 kB / 0.7115 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.136e-05/0.5593, allocations: 47.84 kB / 0.7115 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004741/0.5598, allocations: 282.1 kB / 0.7118 GB, free: 10.56 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5598, allocations: 0 / 0.7118 GB, free: 10.56 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5598, allocations: 0 / 0.7118 GB, free: 10.56 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.5598, allocations: 0 / 0.7118 GB, free: 10.56 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.0005529/0.5603, allocations: 337.8 kB / 0.7121 GB, free: 10.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.5604, allocations: 12.03 kB / 0.7121 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.5624, allocations: 196.5 kB / 0.7123 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.5628, allocations: 161.7 kB / 0.7125 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.5628, allocations: 0 / 0.7125 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/0.5629, allocations: 19.98 kB / 0.7125 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005584/0.5634, allocations: 293.2 kB / 0.7128 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.5634, allocations: 0 / 0.7128 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.5635, allocations: 4 kB / 0.7128 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.5635, allocations: 4 kB / 0.7128 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004568/0.5639, allocations: 175.8 kB / 0.713 GB, free: 9.297 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.001084/0.565, allocations: 0.555 MB / 0.7135 GB, free: 8.691 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.5654, allocations: 134.5 kB / 0.7136 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.5655, allocations: 68.83 kB / 0.7137 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.5656, allocations: 3.984 kB / 0.7137 GB, free: 8.477 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.5656, allocations: 34.56 kB / 0.7137 GB, free: 8.434 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.5656, allocations: 0 / 0.7137 GB, free: 8.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.005227/0.5708, allocations: 1.165 MB / 0.7149 GB, free: 7.215 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.5709, allocations: 51.41 kB / 0.7149 GB, free: 7.152 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.571, allocations: 109.8 kB / 0.715 GB, free: 7.035 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.571, allocations: 29.7 kB / 0.7151 GB, free: 7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.5711, allocations: 99.98 kB / 0.7152 GB, free: 6.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.866e-05/0.5712, allocations: 67.42 kB / 0.7152 GB, free: 6.832 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.5713, allocations: 57.64 kB / 0.7153 GB, free: 6.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5714, allocations: 326.8 kB / 0.7156 GB, free: 6.441 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.5716, allocations: 75.91 kB / 0.7157 GB, free: 6.367 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.5718, allocations: 99.25 kB / 0.7157 GB, free: 6.258 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.5721, allocations: 183.3 kB / 0.7159 GB, free: 6.066 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5721, allocations: 0 / 0.7159 GB, free: 6.066 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005137/0.5726, allocations: 261.3 kB / 0.7162 GB, free: 5.805 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.5727, allocations: 6.656 kB / 0.7162 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5727, allocations: 320 / 0.7162 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001787/0.5728, allocations: 48.92 kB / 0.7162 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.5732, allocations: 59.89 kB / 0.7163 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004941/0.5737, allocations: 0.5641 MB / 0.7168 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.5738, allocations: 7.984 kB / 0.7168 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.5739, allocations: 27.98 kB / 0.7169 GB, free: 5.066 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.000148/0.574, allocations: 125.9 kB / 0.717 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.5741, allocations: 15.89 kB / 0.717 GB, free: 4.918 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008115/0.5749, allocations: 350.9 kB / 0.7173 GB, free: 4.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5749, allocations: 7.922 kB / 0.7173 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.5749, allocations: 4 kB / 0.7174 GB, free: 4.559 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.5749, allocations: 0 / 0.7174 GB, free: 4.559 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.576, allocations: 0.591 MB / 0.7179 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.576, allocations: 0 / 0.7179 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/0.5764, allocations: 63.95 kB / 0.718 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.079e-05/0.5764, allocations: 20.78 kB / 0.718 GB, free: 3.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.5765, allocations: 12 kB / 0.718 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.5775, allocations: 1.26 MB / 0.7192 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.5775, allocations: 16.02 kB / 0.7193 GB, free: 2.422 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000731/0.5783, allocations: 422.7 kB / 0.7197 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.5783, allocations: 12.03 kB / 0.7197 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.5783, allocations: 12 kB / 0.7197 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.5785, allocations: 0 / 0.7197 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.5786, allocations: 31.89 kB / 0.7197 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.5786, allocations: 24 kB / 0.7197 GB, free: 1.902 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.624e-05/0.5787, allocations: 87.27 kB / 0.7198 GB, free: 1.816 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5787, allocations: 4 kB / 0.7198 GB, free: 1.812 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003987/0.5791, allocations: 83.81 kB / 0.7199 GB, free: 1.73 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 (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.0003438/0.5794, allocations: 147.1 kB / 0.7201 GB, free: 1.574 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005303/0.58, allocations: 209.4 kB / 0.7203 GB, free: 1.375 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.58, allocations: 0 / 0.7203 GB, free: 1.375 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003624/0.5803, allocations: 214.5 kB / 0.7205 GB, free: 1.152 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.5808, allocations: 52.55 kB / 0.7205 GB, free: 1.102 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008871/0.5816, allocations: 496.2 kB / 0.721 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.582, allocations: 0.7124 MB / 0.7217 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002923/0.5823, allocations: 77.39 kB / 0.7217 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.5825, allocations: 47.41 kB / 0.7218 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.5825, allocations: 0 / 0.7218 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of Templates: time 0.01035/0.5928, allocations: 5.788 MB / 0.7274 GB, free: 9.934 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 -s gbode -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: 5.440942846937105]