Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 118.4 kB / 17.78 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 183.8 kB / 18.71 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2179/0.2179, allocations: 44.17 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.84 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5009/0.5022, allocations: 60.81 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003018/0.5052, allocations: 1.574 MB / 0.5204 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007723/0.506, allocations: 402 kB / 0.5208 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.913e-05/0.5061, allocations: 0 / 0.5208 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.5064, allocations: 25.17 kB / 0.5209 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.5066, allocations: 37.03 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.5069, allocations: 92.45 kB / 0.521 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.5071, allocations: 59.02 kB / 0.521 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.5072, allocations: 12.69 kB / 0.521 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.261e-05/0.5073, allocations: 18.09 kB / 0.5211 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.826e-05/0.5074, allocations: 20.41 kB / 0.5211 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.5074, allocations: 2.281 kB / 0.5211 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.609e-05/0.5075, allocations: 33.09 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.231e-05/0.5076, allocations: 15.8 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.944e-05/0.5076, allocations: 29.52 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.5078, allocations: 79.22 kB / 0.5212 GB, free: 2.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.5079, allocations: 0 / 0.5212 GB, free: 2.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.5079, allocations: 2.156 kB / 0.5212 GB, free: 2.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.5079, allocations: 0 / 0.5212 GB, free: 2.07 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004381/0.5083, allocations: 379.9 kB / 0.5216 GB, free: 1.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.5084, allocations: 9.828 kB / 0.5216 GB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.5084, allocations: 8.312 kB / 0.5216 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.5086, allocations: 195.2 kB / 0.5218 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.5086, allocations: 6 kB / 0.5218 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.5086, allocations: 2.75 kB / 0.5218 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.5088, allocations: 52.5 kB / 0.5219 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.5088, allocations: 8.453 kB / 0.5219 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.5088, allocations: 1.188 kB / 0.5219 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.5088, allocations: 3.938 kB / 0.5219 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.5089, allocations: 23.03 kB / 0.5219 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.5093, allocations: 274.3 kB / 0.5222 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.5095, allocations: 39.81 kB / 0.5222 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.5096, allocations: 22.3 kB / 0.5222 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.5096, allocations: 1.188 kB / 0.5222 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.5096, allocations: 32.33 kB / 0.5222 GB, free: 1.043 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.5096, allocations: 0 / 0.5222 GB, free: 1.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005597/0.5102, allocations: 143.8 kB / 0.5224 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.5102, allocations: 52.16 kB / 0.5224 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.5104, allocations: 166.6 kB / 0.5226 GB, free: 0.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.5104, allocations: 26.77 kB / 0.5226 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.5105, allocations: 93.92 kB / 0.5227 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.5105, allocations: 11.3 kB / 0.5227 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.5105, allocations: 21.97 kB / 0.5227 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.503e-05/0.5106, allocations: 325.1 kB / 0.5231 GB, free: 328 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.851e-05/0.5107, allocations: 17.61 kB / 0.5231 GB, free: 324 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.979e-05/0.5107, allocations: 19.69 kB / 0.5231 GB, free: 320 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.5109, allocations: 46.91 kB / 0.5231 GB, free: 300 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.5109, allocations: 0 / 0.5231 GB, free: 300 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001668/0.511, allocations: 89.31 kB / 0.5232 GB, free: 244 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.5111, allocations: 5.438 kB / 0.5232 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5111, allocations: 0 / 0.5232 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.5111, allocations: 2.016 kB / 0.5232 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.087e-05/0.5112, allocations: 12.16 kB / 0.5232 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5112, allocations: 0.7031 kB / 0.5232 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/0.5112, allocations: 4.078 kB / 0.5232 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.5112, allocations: 1.406 kB / 0.5232 GB, free: 244 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.943e-05/0.5113, allocations: 131 kB / 0.5234 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.5113, allocations: 12.19 kB / 0.5234 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.5116, allocations: 93.88 kB / 0.5235 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.5116, allocations: 0.8438 kB / 0.5235 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5116, allocations: 0.7969 kB / 0.5235 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5116, allocations: 5.266 kB / 0.5235 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004518/0.5121, allocations: 348 kB / 0.5238 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5121, allocations: 0 / 0.5238 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.939e-05/0.5121, allocations: 16.55 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.5121, allocations: 0 / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.5122, allocations: 5.922 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.5122, allocations: 4.125 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5122, allocations: 9.156 kB / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.5124, allocations: 176.9 kB / 0.524 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.5125, allocations: 84.17 kB / 0.5241 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.5125, allocations: 0.8438 kB / 0.5241 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.5126, allocations: 8.828 kB / 0.5241 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.5126, allocations: 3.844 kB / 0.5241 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.5126, allocations: 1.984 kB / 0.5241 GB, free: 15.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.5127, allocations: 128.5 kB / 0.5242 GB, free: 15.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5127, allocations: 0 / 0.5242 GB, free: 15.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.513, allocations: 16.16 kB / 0.5242 GB, free: 15.35 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009811/0.514, allocations: 407.4 kB / 0.5246 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.5142, allocations: 42.98 kB / 0.5247 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5142, allocations: 4.969 kB / 0.5247 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.787e-05/0.5143, allocations: 23.67 kB / 0.5247 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.5147, allocations: 13.92 kB / 0.5247 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.5151, allocations: 195 kB / 0.5249 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.5154, allocations: 0.6988 MB / 0.5256 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.664e-05/0.5154, allocations: 8.844 kB / 0.5256 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.5155, allocations: 12.06 kB / 0.5256 GB, free: 14.26 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5155, allocations: 1.312 kB / 0.5256 GB, free: 14.26 MB / 398.1 MB Notification: Performance of Templates: time 0.004265/0.5197, allocations: 1.118 MB / 0.5267 GB, free: 14.11 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches