Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.002096/0.002097, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.31/1.31, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2084/0.2084, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 68.05 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1288, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003416/0.1323, allocations: 1.627 MB / 470.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008157/0.1331, allocations: 463.1 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.88e-05/0.1332, allocations: 0 / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005039/0.1337, allocations: 451.1 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.1341, allocations: 251.4 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.1346, allocations: 181.9 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.1348, allocations: 171.6 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.135, allocations: 27.92 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.1351, allocations: 111.8 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.1353, allocations: 215.5 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.1354, allocations: 4 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.1355, allocations: 51.97 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.1357, allocations: 87.62 kB / 472.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.1358, allocations: 103 kB / 473 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.1361, allocations: 271.3 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1362, allocations: 0 / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1362, allocations: 0 / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.1362, allocations: 0 / 473.2 MB, free: 10.39 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.0008059/0.137, allocations: 0.6453 MB / 473.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.1371, allocations: 8.031 kB / 473.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.971e-05/0.1371, allocations: 44.45 kB / 473.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.1375, allocations: 300.1 kB / 474.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.1375, allocations: 12.31 kB / 474.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.1375, allocations: 4.375 kB / 474.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.1377, allocations: 69.8 kB / 474.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.1378, allocations: 0 / 474.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1378, allocations: 3.984 kB / 474.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1378, allocations: 4 kB / 474.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.138, allocations: 39.97 kB / 474.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.1386, allocations: 416.6 kB / 474.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.1388, allocations: 58.55 kB / 474.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.564e-05/0.1389, allocations: 28.97 kB / 474.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.1389, allocations: 96 / 474.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.139, allocations: 38.5 kB / 474.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.139, allocations: 0 / 474.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001542/0.1405, allocations: 487.5 kB / 475.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.1406, allocations: 63.33 kB / 475.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007039/0.1413, allocations: 0.8535 MB / 476.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.1413, allocations: 25.7 kB / 476.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.1415, allocations: 216 kB / 476.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.1415, allocations: 39.44 kB / 476.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.1416, allocations: 25.7 kB / 476.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1417, allocations: 366.7 kB / 476.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1418, allocations: 59.89 kB / 477 MB, free: 6.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.142, allocations: 55.95 kB / 477 MB, free: 6.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.1422, allocations: 128.7 kB / 477.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1422, allocations: 0 / 477.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003264/0.1426, allocations: 193 kB / 477.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1426, allocations: 8 kB / 477.4 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1426, allocations: 0 / 477.4 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1426, allocations: 0 / 477.4 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1427, allocations: 36.47 kB / 477.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1427, allocations: 0 / 477.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.664e-05/0.1428, allocations: 4 kB / 477.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1428, allocations: 7.938 kB / 477.4 MB, free: 5.973 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 (11): * Single equations (assignments): 11 * 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.0001746/0.143, allocations: 221.8 kB / 477.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.1431, allocations: 43.44 kB / 477.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.1435, allocations: 225.4 kB / 477.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1435, allocations: 3.938 kB / 477.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1435, allocations: 4 kB / 477.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1435, allocations: 0 / 477.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007275/0.1442, allocations: 0.6013 MB / 478.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1443, allocations: 0 / 478.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.749e-05/0.1444, allocations: 31.91 kB / 478.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1444, allocations: 0 / 478.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1444, allocations: 4 kB / 478.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1444, allocations: 4.062 kB / 478.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1444, allocations: 0 / 478.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.1448, allocations: 293.2 kB / 478.8 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.678e-05/0.1448, allocations: 120.5 kB / 478.9 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.1449, allocations: 4 kB / 478.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.808e-05/0.145, allocations: 11.98 kB / 478.9 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.145, allocations: 7.984 kB / 479 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.1451, allocations: 8 kB / 479 MB, free: 4.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005246/0.1456, allocations: 0.6433 MB / 479.6 MB, free: 3.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1456, allocations: 0 / 479.6 MB, free: 3.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1459, allocations: 32 kB / 479.6 MB, free: 3.613 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009955/0.1469, allocations: 473.4 kB / 480.1 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003427/0.1472, allocations: 135.8 kB / 480.2 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1472, allocations: 4 kB / 480.2 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.1474, allocations: 67.89 kB / 480.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.1478, allocations: 29.89 kB / 480.3 MB, free: 3.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.1489, allocations: 0.8829 MB / 481.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.1492, allocations: 0.8299 MB / 482 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.427e-05/0.1493, allocations: 36.45 kB / 482.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.1494, allocations: 15.44 kB / 482.1 MB, free: 1.273 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1494, allocations: 0 / 482.1 MB, free: 1.273 MB / 350.1 MB Notification: Performance of Templates: time 0.004984/0.1544, allocations: 1.912 MB / 484 MB, free: 15.38 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches