Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000938/0.000938, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.0009815/0.0009816, allocations: 187 kB / 19.34 MB, free: 3.641 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.548/1.548, allocations: 222.9 MB / 243 MB, free: 15.09 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.2782/0.2782, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 65.91 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1332, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003043/0.1363, allocations: 1.63 MB / 472.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006966/0.137, allocations: 435 kB / 472.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.1371, allocations: 0 / 472.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.1373, allocations: 71.72 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.1375, allocations: 55.8 kB / 472.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.1378, allocations: 135 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.138, allocations: 83.73 kB / 473.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.28e-05/0.138, allocations: 12 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.044e-05/0.1381, allocations: 39.84 kB / 473.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.647e-05/0.1382, allocations: 51.81 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1382, allocations: 4 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-05/0.1383, allocations: 51.98 kB / 473.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.948e-05/0.1384, allocations: 27.91 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.1384, allocations: 27.75 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.1386, allocations: 115.6 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1386, allocations: 0 / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1386, allocations: 0 / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1386, allocations: 0 / 473.4 MB, free: 10.93 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.0004017/0.139, allocations: 411 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.139, allocations: 8.031 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.1391, allocations: 20.73 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.1393, allocations: 192.1 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1393, allocations: 8.312 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.1393, allocations: 4.375 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.1395, allocations: 69.67 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1395, allocations: 7.984 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1395, allocations: 0 / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.1395, allocations: 0 / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.1396, allocations: 43.97 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.14, allocations: 308.7 kB / 474.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.1402, allocations: 50.56 kB / 474.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.779e-05/0.1403, allocations: 24.97 kB / 474.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.1404, allocations: 4.031 kB / 474.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.1404, allocations: 38.55 kB / 474.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1404, allocations: 0 / 474.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001327/0.1417, allocations: 389.2 kB / 475 MB, free: 9.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.1418, allocations: 55.34 kB / 475 MB, free: 9.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.1421, allocations: 210.2 kB / 475.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1421, allocations: 25.7 kB / 475.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.1423, allocations: 104 kB / 475.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.1424, allocations: 35.47 kB / 475.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.1424, allocations: 25.7 kB / 475.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003976/0.1428, allocations: 322.8 kB / 475.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.143, allocations: 43.97 kB / 475.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.1433, allocations: 51.95 kB / 475.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.1435, allocations: 100.7 kB / 475.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1435, allocations: 4 kB / 475.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002981/0.1438, allocations: 133.5 kB / 476.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1439, allocations: 8 kB / 476.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1439, allocations: 3.938 kB / 476.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1439, allocations: 0 / 476.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.144, allocations: 27.92 kB / 476.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.144, allocations: 0 / 476.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.076e-05/0.1441, allocations: 19.92 kB / 476.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.1441, allocations: 4 kB / 476.1 MB, free: 8.012 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.0002667/0.1444, allocations: 129.8 kB / 476.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.1444, allocations: 15.81 kB / 476.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/0.1448, allocations: 158.3 kB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.1448, allocations: 3.938 kB / 476.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1448, allocations: 0 / 476.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1449, allocations: 0 / 476.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.1459, allocations: 479.9 kB / 476.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1459, allocations: 0 / 476.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.146, allocations: 27.92 kB / 476.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.1461, allocations: 11.92 kB / 476.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.1461, allocations: 0 / 476.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.1461, allocations: 192 / 476.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1461, allocations: 8.062 kB / 476.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/0.1465, allocations: 249 kB / 477.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.709e-05/0.1466, allocations: 89 kB / 477.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.1467, allocations: 0 / 477.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.1469, allocations: 23.92 kB / 477.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.1469, allocations: 4 kB / 477.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1469, allocations: 4 kB / 477.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.1471, allocations: 155.2 kB / 477.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1471, allocations: 0 / 477.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.1474, allocations: 27.98 kB / 477.5 MB, free: 6.535 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.001307/0.1487, allocations: 467 kB / 477.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003357/0.149, allocations: 103.9 kB / 478 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1491, allocations: 4 kB / 478 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.1492, allocations: 59.84 kB / 478.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.1496, allocations: 27.92 kB / 478.1 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008293/0.1505, allocations: 284.1 kB / 478.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007425/0.1512, allocations: 0.7198 MB / 479.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.922e-05/0.1513, allocations: 12.42 kB / 479.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.1513, allocations: 15.42 kB / 479.2 MB, free: 4.977 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1513, allocations: 4 kB / 479.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of Templates: time 0.004936/0.1563, allocations: 1.531 MB / 480.7 MB, free: 3.449 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches