Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001571/0.001571, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002015/0.002015, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.9 MB, free: 9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2071/0.2071, allocations: 46.1 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 76.22 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.106, allocations: 62.45 MB / 479.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003012/0.109, allocations: 1.677 MB / 481.6 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009965/0.11, allocations: 0.5612 MB / 482.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.675e-05/0.1101, allocations: 0 / 482.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005459/0.1107, allocations: 455.2 kB / 482.6 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003915/0.1111, allocations: 279.4 kB / 482.9 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.1115, allocations: 159.6 kB / 483 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.1117, allocations: 171.6 kB / 483.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.156e-05/0.1118, allocations: 12 kB / 483.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.112, allocations: 107.8 kB / 483.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.1122, allocations: 203.5 kB / 483.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.1122, allocations: 0 / 483.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.306e-05/0.1123, allocations: 28 kB / 483.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.1124, allocations: 91.55 kB / 483.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.705e-05/0.1125, allocations: 103 kB / 483.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1127, allocations: 183.7 kB / 483.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1127, allocations: 0 / 483.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1127, allocations: 0 / 483.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1127, allocations: 0 / 483.9 MB, free: 1.652 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006652/0.1134, allocations: 0.6339 MB / 484.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1134, allocations: 12.88 kB / 484.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.137e-05/0.1135, allocations: 44.38 kB / 484.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.1138, allocations: 300.1 kB / 484.9 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-06/0.1138, allocations: 384 / 484.9 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.1138, allocations: 4.375 kB / 484.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.114, allocations: 61.73 kB / 485 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.114, allocations: 4 kB / 485 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.114, allocations: 0 / 485 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.114, allocations: 0 / 485 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.1142, allocations: 39.95 kB / 485 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/0.1147, allocations: 392.8 kB / 485.4 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.1148, allocations: 42.55 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.341e-05/0.1149, allocations: 28.88 kB / 485.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.115, allocations: 4 kB / 485.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.115, allocations: 34.56 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.115, allocations: 0 / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003449/0.1153, allocations: 129.1 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.1154, allocations: 51.41 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008542/0.1163, allocations: 0.8691 MB / 486.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1163, allocations: 25.7 kB / 486.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.1165, allocations: 216.1 kB / 486.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.1165, allocations: 11.83 kB / 486.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.1165, allocations: 21.7 kB / 486.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1167, allocations: 358.7 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.392e-05/0.1168, allocations: 23.92 kB / 487.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.322e-05/0.1169, allocations: 19.97 kB / 487.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.117, allocations: 48.83 kB / 487.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.117, allocations: 0 / 487.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002124/0.1172, allocations: 109.1 kB / 487.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1173, allocations: 4 kB / 487.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1173, allocations: 0 / 487.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1173, allocations: 0 / 487.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.986e-05/0.1174, allocations: 8 kB / 487.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.1174, allocations: 7.922 kB / 487.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.756e-05/0.1175, allocations: 8 kB / 487.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1175, allocations: 7.938 kB / 487.4 MB, free: 13.94 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 (3): * Single equations (assignments): 3 * 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 0.0001965/0.1177, allocations: 213.7 kB / 487.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.1178, allocations: 43.44 kB / 487.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.118, allocations: 125 kB / 487.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1181, allocations: 4 kB / 487.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1181, allocations: 0 / 487.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.1181, allocations: 4 kB / 487.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.1183, allocations: 289.5 kB / 488.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1184, allocations: 4 kB / 488.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/0.1184, allocations: 11.98 kB / 488.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1184, allocations: 0 / 488.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1184, allocations: 0 / 488.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1184, allocations: 3.938 kB / 488.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1184, allocations: 0 / 488.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.1187, allocations: 211.3 kB / 488.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/0.1188, allocations: 112.7 kB / 488.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.1188, allocations: 3.984 kB / 488.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.218e-05/0.1189, allocations: 4 kB / 488.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.1189, allocations: 4 kB / 488.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1189, allocations: 3.938 kB / 488.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005474/0.1195, allocations: 0.655 MB / 489.1 MB, free: 12.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1195, allocations: 0 / 489.1 MB, free: 12.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00024/0.1197, allocations: 20 kB / 489.1 MB, free: 12.15 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 (3): * Single equations (assignments): 3 * 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.0007495/0.1205, allocations: 347.2 kB / 489.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000182/0.1207, allocations: 47.84 kB / 489.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1207, allocations: 0 / 489.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.239e-05/0.1208, allocations: 27.97 kB / 489.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.1212, allocations: 22.31 kB / 489.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.1223, allocations: 0.9078 MB / 490.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.1227, allocations: 0.8224 MB / 491.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.1227, allocations: 15.42 kB / 491.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1227, allocations: 0 / 491.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of Templates: time 0.006309/0.129, allocations: 3.561 MB / 494.8 MB, free: 6.453 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches