Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.58/1.58, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2711/0.2711, allocations: 46.93 MB / 357.1 MB, free: 10.31 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.91 kB / 0.4914 GB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1325, allocations: 66 MB / 0.5558 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5134/0.6459, allocations: 152.7 MB / 0.705 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.6475, allocations: 1.061 MB / 0.706 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.629e-05/0.6476, allocations: 0 / 0.706 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.6478, allocations: 35.77 kB / 0.706 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007652/0.6486, allocations: 274.5 kB / 0.7063 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.649, allocations: 114.2 kB / 0.7064 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000283/0.6493, allocations: 179.3 kB / 0.7066 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.6494, allocations: 7.938 kB / 0.7066 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.6496, allocations: 99.61 kB / 0.7067 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.6497, allocations: 52.7 kB / 0.7067 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.6497, allocations: 8 kB / 0.7067 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005511/0.6503, allocations: 275.7 kB / 0.707 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.6503, allocations: 27.91 kB / 0.707 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.727e-05/0.6504, allocations: 43.8 kB / 0.7071 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004875/0.6509, allocations: 279.9 kB / 0.7073 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.6509, allocations: 4 kB / 0.7073 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6509, allocations: 0 / 0.7073 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.6509, allocations: 0 / 0.7073 GB, free: 6.121 MB / 0.5137 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.0006263/0.6515, allocations: 414.9 kB / 0.7077 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.6516, allocations: 10.28 kB / 0.7077 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/0.6539, allocations: 201.1 kB / 0.7079 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.6542, allocations: 208 kB / 0.7081 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.6542, allocations: 8 kB / 0.7081 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.6543, allocations: 8 kB / 0.7082 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005748/0.6549, allocations: 229.4 kB / 0.7084 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.6549, allocations: 0 / 0.7084 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/0.6549, allocations: 4 kB / 0.7084 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.6549, allocations: 4 kB / 0.7084 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.6554, allocations: 167.8 kB / 0.7085 GB, free: 4.797 MB / 0.5137 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.001198/0.6566, allocations: 0.5771 MB / 0.7091 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.657, allocations: 134.5 kB / 0.7092 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.6572, allocations: 68.83 kB / 0.7093 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.6572, allocations: 7.984 kB / 0.7093 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.6572, allocations: 34.81 kB / 0.7093 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.6572, allocations: 0 / 0.7093 GB, free: 3.902 MB / 0.5137 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.005977/0.6632, allocations: 1.309 MB / 0.7106 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.6633, allocations: 59.41 kB / 0.7107 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.6634, allocations: 111.7 kB / 0.7108 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.6634, allocations: 33.69 kB / 0.7108 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.991e-05/0.6635, allocations: 95.98 kB / 0.7109 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.6636, allocations: 71.41 kB / 0.711 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.6637, allocations: 57.66 kB / 0.711 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.6639, allocations: 322.8 kB / 0.7113 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.664, allocations: 67.95 kB / 0.7114 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.6642, allocations: 111.2 kB / 0.7115 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.6646, allocations: 187.2 kB / 0.7117 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.6646, allocations: 0 / 0.7117 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005664/0.6652, allocations: 261.2 kB / 0.7119 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.6652, allocations: 9.719 kB / 0.7119 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6652, allocations: 0 / 0.7119 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002164/0.6654, allocations: 52.83 kB / 0.712 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/0.6658, allocations: 51.91 kB / 0.712 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005272/0.6663, allocations: 0.5641 MB / 0.7126 GB, free: 392 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.6665, allocations: 8.031 kB / 0.7126 GB, free: 384 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/0.6666, allocations: 27.98 kB / 0.7126 GB, free: 356 kB / 0.5137 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.0001481/0.6667, allocations: 125.8 kB / 0.7127 GB, free: 220 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.6668, allocations: 7.953 kB / 0.7128 GB, free: 212 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008963/0.6676, allocations: 355.8 kB / 0.7131 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.6677, allocations: 4 kB / 0.7131 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.6677, allocations: 3.984 kB / 0.7131 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.6677, allocations: 0 / 0.7131 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.6688, allocations: 0.6191 MB / 0.7137 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.6688, allocations: 7.984 kB / 0.7137 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/0.6692, allocations: 55.91 kB / 0.7138 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.09e-05/0.6693, allocations: 24.83 kB / 0.7138 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.6693, allocations: 12 kB / 0.7138 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.6705, allocations: 1.372 MB / 0.7151 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6705, allocations: 0 / 0.7151 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008197/0.6713, allocations: 434.7 kB / 0.7156 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.6714, allocations: 89.08 kB / 0.7156 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.6714, allocations: 8 kB / 0.7156 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.6717, allocations: 8 kB / 0.7157 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.6717, allocations: 24.03 kB / 0.7157 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.665e-05/0.6718, allocations: 27.98 kB / 0.7157 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.125e-05/0.6718, allocations: 87.59 kB / 0.7158 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.6718, allocations: 3.938 kB / 0.7158 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004522/0.6723, allocations: 83.86 kB / 0.7159 GB, free: 12.75 MB / 0.5294 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.0004202/0.6727, allocations: 155.6 kB / 0.716 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005604/0.6733, allocations: 198.5 kB / 0.7162 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.6733, allocations: 192 / 0.7162 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004017/0.6737, allocations: 228.1 kB / 0.7164 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.6741, allocations: 41.25 kB / 0.7165 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009786/0.6751, allocations: 488.2 kB / 0.7169 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.6755, allocations: 0.7046 MB / 0.7176 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002952/0.6758, allocations: 73.39 kB / 0.7177 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.676, allocations: 51.41 kB / 0.7177 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of SimCode: time 8.42e-07/0.676, allocations: 0 / 0.7177 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of Templates: time 0.0119/0.6879, allocations: 5.65 MB / 0.7233 GB, free: 5.117 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.038359582424164]