Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.001214, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001168/0.001168, allocations: 191 kB / 19.34 MB, free: 3.766 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.377/1.377, allocations: 222.9 MB / 243 MB, free: 15.13 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.2075/0.2075, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 74.11 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.106, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002352/0.1084, allocations: 1.575 MB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006431/0.109, allocations: 411.2 kB / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.022e-05/0.1091, allocations: 0 / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.1092, allocations: 115.6 kB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.1094, allocations: 79.72 kB / 472.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.1096, allocations: 114.7 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.1097, allocations: 79.81 kB / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.561e-05/0.1098, allocations: 20.17 kB / 473.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.098e-05/0.1098, allocations: 35.91 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.322e-05/0.1099, allocations: 67.8 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1099, allocations: 4 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.746e-05/0.11, allocations: 51.91 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.498e-05/0.1101, allocations: 19.92 kB / 473.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.1101, allocations: 31.75 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.1102, allocations: 111.6 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1102, allocations: 0 / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1102, allocations: 4 kB / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.655e-06/0.1103, allocations: 0 / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003356/0.1106, allocations: 414.9 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.167e-05/0.1106, allocations: 12.03 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.1107, allocations: 16.69 kB / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.1108, allocations: 208 kB / 474 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.312e-06/0.1108, allocations: 4.375 kB / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.1108, allocations: 384 / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.1109, allocations: 69.59 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.111, allocations: 0 / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.93e-06/0.111, allocations: 0 / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-06/0.111, allocations: 0 / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.449e-05/0.1111, allocations: 31.97 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.1114, allocations: 300.7 kB / 474.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.036e-05/0.1115, allocations: 50.55 kB / 474.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.1115, allocations: 16.86 kB / 474.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.1116, allocations: 4 kB / 474.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.1116, allocations: 30.56 kB / 474.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.546e-06/0.1116, allocations: 0 / 474.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007119/0.1123, allocations: 249 kB / 474.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.1124, allocations: 51.41 kB / 474.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1126, allocations: 239.4 kB / 475.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1126, allocations: 33.69 kB / 475.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.1126, allocations: 104.1 kB / 475.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.1127, allocations: 31.55 kB / 475.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.1127, allocations: 21.72 kB / 475.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.954e-05/0.1128, allocations: 322.8 kB / 475.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.037e-05/0.1129, allocations: 31.97 kB / 475.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.17e-05/0.113, allocations: 27.98 kB / 475.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.1131, allocations: 76.81 kB / 475.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1131, allocations: 3.938 kB / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001929/0.1133, allocations: 121.5 kB / 475.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.1133, allocations: 4 kB / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.1133, allocations: 0 / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.1133, allocations: 0 / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.1134, allocations: 23.92 kB / 475.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.1134, allocations: 3.938 kB / 475.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.727e-05/0.1135, allocations: 7.984 kB / 475.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.1135, allocations: 4 kB / 475.9 MB, free: 8.246 MB / 350.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 (8): * Single equations (assignments): 8 * 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 8.658e-05/0.1136, allocations: 133.8 kB / 476 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.1136, allocations: 11.81 kB / 476 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.1139, allocations: 135.3 kB / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1139, allocations: 0 / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1139, allocations: 3.938 kB / 476.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1139, allocations: 7.984 kB / 476.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.1143, allocations: 419.2 kB / 476.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1144, allocations: 0 / 476.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.629e-05/0.1144, allocations: 27.92 kB / 476.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1144, allocations: 432 / 476.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.1144, allocations: 0 / 476.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1144, allocations: 0 / 476.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1145, allocations: 4 kB / 476.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.1147, allocations: 216.2 kB / 476.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.1147, allocations: 92.86 kB / 476.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.1148, allocations: 3.984 kB / 476.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.1148, allocations: 7.984 kB / 476.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.1149, allocations: 8 kB / 476.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.1149, allocations: 0 / 476.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.115, allocations: 187.5 kB / 477.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.115, allocations: 4 kB / 477.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002232/0.1152, allocations: 16 kB / 477.1 MB, free: 6.887 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0008801/0.1161, allocations: 471.5 kB / 477.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.1163, allocations: 71.95 kB / 477.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.1163, allocations: 0 / 477.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.383e-05/0.1164, allocations: 43.91 kB / 477.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.1167, allocations: 30.81 kB / 477.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.1171, allocations: 286.8 kB / 478 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.1174, allocations: 0.7197 MB / 478.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.301e-05/0.1174, allocations: 16.95 kB / 478.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.1175, allocations: 19.42 kB / 478.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1175, allocations: 0 / 478.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of Templates: time 0.4215/0.539, allocations: 1.363 MB / 480.1 MB, free: 4.012 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches