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.001287/0.001287, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001774/0.001774, allocations: 165 kB / 24.56 MB, free: 8 kB / 18.57 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.014/1.014, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.246/0.246, allocations: 34.26 MB / 295.7 MB, free: 0.6797 MB / 266.7 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 1.112e-06/1.112e-06, allocations: 0 / 378 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.012e-05, allocations: 2.312 kB / 378 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2775/0.2775, allocations: 145.3 MB / 0.511 GB, free: 17.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2785, allocations: 1.079 MB / 0.5121 GB, free: 16.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/0.2786, allocations: 2 kB / 0.5121 GB, free: 16.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.2789, allocations: 29.94 kB / 0.5121 GB, free: 16.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000655/0.2796, allocations: 281.8 kB / 0.5124 GB, free: 16.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.2799, allocations: 119.5 kB / 0.5125 GB, free: 16.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.2802, allocations: 178.7 kB / 0.5127 GB, free: 16.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.2802, allocations: 8.125 kB / 0.5127 GB, free: 16.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.2805, allocations: 119.3 kB / 0.5128 GB, free: 16.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.2806, allocations: 47.64 kB / 0.5128 GB, free: 16.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.2806, allocations: 5.844 kB / 0.5128 GB, free: 16.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004384/0.281, allocations: 267.8 kB / 0.5131 GB, free: 16.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.2811, allocations: 22.8 kB / 0.5131 GB, free: 16.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.22e-05/0.2811, allocations: 35.09 kB / 0.5131 GB, free: 16.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004133/0.2816, allocations: 303.4 kB / 0.5134 GB, free: 16.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2816, allocations: 0 / 0.5134 GB, free: 16.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2816, allocations: 0 / 0.5134 GB, free: 16.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.2816, allocations: 3.938 kB / 0.5134 GB, free: 16.2 MB / 410.7 MB 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.0004278/0.282, allocations: 442.7 kB / 0.5139 GB, free: 15.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.282, allocations: 9.5 kB / 0.5139 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.2831, allocations: 213 kB / 0.5141 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.2833, allocations: 152.3 kB / 0.5142 GB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.2833, allocations: 11.17 kB / 0.5142 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.2834, allocations: 13.34 kB / 0.5142 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.2837, allocations: 294.8 kB / 0.5145 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2837, allocations: 0 / 0.5145 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.2837, allocations: 0.9844 kB / 0.5145 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.2837, allocations: 2.812 kB / 0.5145 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.2839, allocations: 135.5 kB / 0.5147 GB, free: 15.36 MB / 410.7 MB 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.0006051/0.2845, allocations: 0.6258 MB / 0.5153 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.2847, allocations: 129.3 kB / 0.5154 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.89e-05/0.2848, allocations: 67.42 kB / 0.5155 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.2848, allocations: 3.766 kB / 0.5155 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.2848, allocations: 36.11 kB / 0.5155 GB, free: 14.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.2848, allocations: 0 / 0.5155 GB, free: 14.66 MB / 410.7 MB 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.002397/0.2872, allocations: 0.9742 MB / 0.5164 GB, free: 14.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.975e-05/0.2872, allocations: 59.33 kB / 0.5165 GB, free: 14.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.798e-05/0.2873, allocations: 169.9 kB / 0.5167 GB, free: 13.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.2873, allocations: 32.73 kB / 0.5167 GB, free: 13.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.2874, allocations: 143.8 kB / 0.5168 GB, free: 13.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.2874, allocations: 69.52 kB / 0.5169 GB, free: 13.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.2874, allocations: 54.7 kB / 0.5169 GB, free: 13.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.383e-05/0.2875, allocations: 0.4916 MB / 0.5174 GB, free: 13.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.421e-05/0.2876, allocations: 45.09 kB / 0.5175 GB, free: 13.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.521e-05/0.2876, allocations: 101.3 kB / 0.5176 GB, free: 13.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.2878, allocations: 157.2 kB / 0.5177 GB, free: 13.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2878, allocations: 0 / 0.5177 GB, free: 13.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000234/0.288, allocations: 217.8 kB / 0.5179 GB, free: 12.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.288, allocations: 7.578 kB / 0.5179 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.288, allocations: 0 / 0.5179 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001184/0.2882, allocations: 36.83 kB / 0.518 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.2883, allocations: 54.19 kB / 0.518 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002026/0.2885, allocations: 0.8115 MB / 0.5188 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.2886, allocations: 3 kB / 0.5188 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.2886, allocations: 23.67 kB / 0.5188 GB, free: 12.15 MB / 410.7 MB 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 6.507e-05/0.2887, allocations: 168.7 kB / 0.519 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.2887, allocations: 16.67 kB / 0.519 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003457/0.2891, allocations: 282.1 kB / 0.5193 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2891, allocations: 3.281 kB / 0.5193 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2891, allocations: 0 / 0.5193 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2891, allocations: 3.938 kB / 0.5193 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.2895, allocations: 0.5459 MB / 0.5198 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2895, allocations: 5.719 kB / 0.5198 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.2897, allocations: 54.7 kB / 0.5199 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.435e-05/0.2898, allocations: 20.77 kB / 0.5199 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.2898, allocations: 15 kB / 0.5199 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003988/0.2902, allocations: 1.719 MB / 0.5216 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2902, allocations: 3.938 kB / 0.5216 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.2905, allocations: 433.3 kB / 0.522 GB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-06/0.2905, allocations: 12.97 kB / 0.522 GB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.2905, allocations: 2.594 kB / 0.522 GB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.554e-05/0.2906, allocations: 11.06 kB / 0.522 GB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.2907, allocations: 26.72 kB / 0.5221 GB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.2907, allocations: 19.77 kB / 0.5221 GB, free: 9.352 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.268e-05/0.2907, allocations: 132.8 kB / 0.5222 GB, free: 9.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2907, allocations: 4.094 kB / 0.5222 GB, free: 9.227 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000261/0.291, allocations: 81.52 kB / 0.5223 GB, free: 9.215 MB / 410.7 MB 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 (20): * Single equations (assignments): 19 * 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.0002605/0.2912, allocations: 152.4 kB / 0.5224 GB, free: 9.102 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.2915, allocations: 176.8 kB / 0.5226 GB, free: 9.055 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2915, allocations: 0 / 0.5226 GB, free: 9.055 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.2917, allocations: 266.5 kB / 0.5229 GB, free: 8.855 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.2919, allocations: 64.38 kB / 0.5229 GB, free: 8.836 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007805/0.2927, allocations: 403.6 kB / 0.5233 GB, free: 8.547 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.625e-05/0.2928, allocations: 71.2 kB / 0.5234 GB, free: 8.477 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.2929, allocations: 63.94 kB / 0.5234 GB, free: 8.449 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.259e-05/0.293, allocations: 39.91 kB / 0.5235 GB, free: 8.438 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.293, allocations: 0 / 0.5235 GB, free: 8.438 MB / 410.7 MB Notification: Performance of Templates: time 0.007205/0.3002, allocations: 5.879 MB / 0.5292 GB, free: 7.852 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4292430309578776]