Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001224/0.001224, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.475/1.475, allocations: 222.9 MB / 243 MB, free: 15.07 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.2566/0.2566, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 66.45 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1301, allocations: 60.82 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.00279/0.1329, allocations: 1.568 MB / 472.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006886/0.1336, allocations: 435.1 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.554e-05/0.1337, allocations: 0 / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004721/0.1342, allocations: 455.1 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.1345, allocations: 255.5 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.1348, allocations: 165.3 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.135, allocations: 159.8 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.664e-05/0.1351, allocations: 11.98 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.553e-05/0.1352, allocations: 119.6 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.1354, allocations: 199.7 kB / 474 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1354, allocations: 8 kB / 474 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.099e-05/0.1355, allocations: 16 kB / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.637e-05/0.1356, allocations: 83.69 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.952e-05/0.1357, allocations: 103 kB / 474.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.1359, allocations: 247 kB / 474.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1359, allocations: 0 / 474.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1359, allocations: 0 / 474.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1359, allocations: 0 / 474.5 MB, free: 9.84 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.0005556/0.1365, allocations: 0.6141 MB / 475.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.1365, allocations: 16.03 kB / 475.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.1366, allocations: 40.38 kB / 475.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.1368, allocations: 296.2 kB / 475.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-06/0.1368, allocations: 384 / 475.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.1368, allocations: 384 / 475.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.137, allocations: 61.73 kB / 475.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.137, allocations: 0 / 475.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.137, allocations: 0 / 475.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.137, allocations: 4 kB / 475.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.1371, allocations: 23.92 kB / 475.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.1375, allocations: 388.7 kB / 475.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.774e-05/0.1376, allocations: 34.5 kB / 475.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.281e-05/0.1377, allocations: 16.91 kB / 475.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.1377, allocations: 0 / 475.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.1377, allocations: 42.5 kB / 476 MB, free: 8.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1377, allocations: 4 kB / 476 MB, free: 8.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002351/0.138, allocations: 101.1 kB / 476.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.138, allocations: 51.41 kB / 476.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007989/0.1388, allocations: 0.8535 MB / 477 MB, free: 7.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.1388, allocations: 25.7 kB / 477 MB, free: 7.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.139, allocations: 228.1 kB / 477.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.139, allocations: 11.97 kB / 477.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.1391, allocations: 13.72 kB / 477.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002837/0.1394, allocations: 362.7 kB / 477.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.398e-05/0.1394, allocations: 7.984 kB / 477.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.374e-05/0.1395, allocations: 11.98 kB / 477.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.075e-05/0.1395, allocations: 28.84 kB / 477.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1395, allocations: 0 / 477.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001399/0.1397, allocations: 93.28 kB / 477.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1397, allocations: 4 kB / 477.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1397, allocations: 0 / 477.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1397, allocations: 0 / 477.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.1398, allocations: 11.92 kB / 477.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.1398, allocations: 0 / 477.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.118e-05/0.1399, allocations: 4 kB / 477.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1399, allocations: 0 / 477.8 MB, free: 6.297 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 (2): * Single equations (assignments): 2 * 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.000193/0.1401, allocations: 217.7 kB / 478 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.1403, allocations: 43.44 kB / 478 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.1405, allocations: 104.6 kB / 478.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1405, allocations: 4 kB / 478.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1405, allocations: 0 / 478.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1405, allocations: 0 / 478.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/0.141, allocations: 281.5 kB / 478.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.141, allocations: 0 / 478.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-05/0.141, allocations: 8 kB / 478.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1412, allocations: 4.031 kB / 478.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1412, allocations: 7.984 kB / 478.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1412, allocations: 3.938 kB / 478.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1412, allocations: 0 / 478.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.1414, allocations: 182.9 kB / 478.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/0.1416, allocations: 116.5 kB / 478.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.1417, allocations: 7.922 kB / 478.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.1418, allocations: 4.031 kB / 478.7 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.1418, allocations: 8 kB / 478.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.1418, allocations: 0 / 478.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001086/0.1429, allocations: 0.6472 MB / 479.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1429, allocations: 0 / 479.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1432, allocations: 23.98 kB / 479.4 MB, free: 4.551 MB / 350.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 (2): * Single equations (assignments): 2 * 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.001103/0.1443, allocations: 356 kB / 479.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.1444, allocations: 31.91 kB / 479.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1445, allocations: 0 / 479.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.742e-05/0.1445, allocations: 12 kB / 479.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.145, allocations: 26.02 kB / 479.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.1464, allocations: 0.771 MB / 480.6 MB, free: 3.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.1475, allocations: 0.8221 MB / 481.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.215e-05/0.1475, allocations: 11.98 kB / 481.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.381e-05/0.1476, allocations: 11.44 kB / 481.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1476, allocations: 0 / 481.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of Templates: time 0.005636/0.1532, allocations: 1.263 MB / 482.7 MB, free: 1.34 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches