Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009299/0.0009302, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.7 MB / 247.5 MB, free: 11.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1869/0.1869, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002549/0.000255, allocations: 8 kB / 420.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1041, allocations: 63.56 MB / 483.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.001857/0.106, allocations: 1.33 MB / 485.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.1076, allocations: 1.14 MB / 486.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.1077, allocations: 0 / 486.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.1079, allocations: 23.91 kB / 486.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.1081, allocations: 67.77 kB / 486.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.1084, allocations: 103.8 kB / 486.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.1086, allocations: 71.83 kB / 486.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.66e-05/0.1087, allocations: 23.94 kB / 486.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.1e-05/0.1087, allocations: 23.91 kB / 486.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.1089, allocations: 27.86 kB / 486.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.1089, allocations: 4 kB / 486.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.1091, allocations: 95.86 kB / 486.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.753e-05/0.1091, allocations: 11.94 kB / 486.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.1092, allocations: 57.48 kB / 486.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.1093, allocations: 107.8 kB / 486.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1094, allocations: 4 kB / 486.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1094, allocations: 0 / 486.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.1094, allocations: 4 kB / 486.8 MB, free: 1.078 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004406/0.1098, allocations: 399.5 kB / 487.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.1099, allocations: 8.031 kB / 487.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.1099, allocations: 8.844 kB / 487.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.1101, allocations: 206.8 kB / 487.4 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.1101, allocations: 384 / 487.4 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.1101, allocations: 8.375 kB / 487.4 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.1103, allocations: 83.45 kB / 487.5 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1103, allocations: 3.938 kB / 487.5 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1104, allocations: 8 kB / 487.5 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1104, allocations: 3.938 kB / 487.5 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.1105, allocations: 39.97 kB / 487.6 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.1109, allocations: 320.6 kB / 487.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.111, allocations: 62.58 kB / 487.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.1111, allocations: 24.98 kB / 488 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1111, allocations: 3.984 kB / 488 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.1112, allocations: 34.56 kB / 488 MB, free: 15.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1112, allocations: 0 / 488 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006568/0.1118, allocations: 209.2 kB / 488.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.1119, allocations: 77.11 kB / 488.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.112, allocations: 149.8 kB / 488.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1121, allocations: 25.7 kB / 488.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.1121, allocations: 112 kB / 488.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.1122, allocations: 19.72 kB / 488.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.1122, allocations: 21.7 kB / 488.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1123, allocations: 314.8 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.19e-05/0.1124, allocations: 31.97 kB / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.1125, allocations: 53.7 kB / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.1127, allocations: 85 kB / 489.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1127, allocations: 0 / 489.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002344/0.113, allocations: 113.6 kB / 489.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.113, allocations: 8 kB / 489.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.113, allocations: 3.984 kB / 489.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.113, allocations: 0 / 489.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1131, allocations: 19.98 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1131, allocations: 7.875 kB / 489.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.282e-05/0.1132, allocations: 11.98 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1132, allocations: 4 kB / 489.2 MB, free: 14.41 MB / 366.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.083e-05/0.1133, allocations: 121.8 kB / 489.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.1133, allocations: 7.906 kB / 489.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003047/0.1137, allocations: 138.3 kB / 489.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1137, allocations: 0 / 489.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1137, allocations: 7.938 kB / 489.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1137, allocations: 0 / 489.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.1142, allocations: 418.3 kB / 489.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1142, allocations: 3.938 kB / 489.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.551e-05/0.1143, allocations: 27.92 kB / 490 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1143, allocations: 3.938 kB / 490 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1143, allocations: 0 / 490 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1143, allocations: 240 / 490 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1143, allocations: 3.984 kB / 490 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.1146, allocations: 219.7 kB / 490.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.1147, allocations: 96.94 kB / 490.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.1147, allocations: 0 / 490.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.11e-05/0.1148, allocations: 8 kB / 490.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.1148, allocations: 7.984 kB / 490.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.1148, allocations: 4 kB / 490.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.12e-05/0.1149, allocations: 121.1 kB / 490.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1149, allocations: 0 / 490.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.1152, allocations: 40 kB / 490.4 MB, free: 13.1 MB / 366.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 (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.001077/0.1163, allocations: 482.5 kB / 490.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.1166, allocations: 83.89 kB / 491 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1166, allocations: 0 / 491 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.1167, allocations: 47.97 kB / 491 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.117, allocations: 23.86 kB / 491.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004724/0.1175, allocations: 267.1 kB / 491.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.1178, allocations: 0.6965 MB / 492 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.1178, allocations: 23.42 kB / 492.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1178, allocations: 0 / 492.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of Templates: time 0.003865/0.1217, allocations: 2.146 MB / 494.2 MB, free: 9.445 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches