Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27") translateModel(ModelicaTest.Tables.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001549, allocations: 103.8 kB / 15.98 MB, free: 6.352 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.0018/0.001799, allocations: 192.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.1 MB / 222.8 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4146/0.4146, allocations: 43.5 MB / 313.6 MB, free: 8.477 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.91 kB / 382.2 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1404, allocations: 57.78 MB / 440 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test27): time 0.003284/0.1438, allocations: 1.675 MB / 441.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006957/0.1445, allocations: 307.7 kB / 442 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.1445, allocations: 0 / 442 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.1448, allocations: 59.86 kB / 442 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.145, allocations: 47.81 kB / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.1453, allocations: 103.8 kB / 442.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.1455, allocations: 75.81 kB / 442.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.1456, allocations: 20.16 kB / 442.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.768e-05/0.1457, allocations: 23.92 kB / 442.3 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.786e-05/0.1457, allocations: 47.77 kB / 442.4 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.1458, allocations: 8 kB / 442.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.148e-05/0.1458, allocations: 35.98 kB / 442.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.1459, allocations: 23.86 kB / 442.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.146, allocations: 31.8 kB / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.1461, allocations: 87.94 kB / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1461, allocations: 3.984 kB / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1461, allocations: 0 / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.1461, allocations: 0 / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004889/0.1466, allocations: 395 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1467, allocations: 15.89 kB / 442.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.1467, allocations: 8.844 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.1469, allocations: 196.7 kB / 443.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1469, allocations: 8.125 kB / 443.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.147, allocations: 0 / 443.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.1471, allocations: 57.67 kB / 443.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.1471, allocations: 0 / 443.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.1471, allocations: 0 / 443.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1471, allocations: 4 kB / 443.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.1473, allocations: 39.97 kB / 443.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.1476, allocations: 292.8 kB / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1477, allocations: 38.56 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.109e-05/0.1478, allocations: 28.88 kB / 443.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.1478, allocations: 4 kB / 443.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.1478, allocations: 34.56 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.1478, allocations: 0 / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006576/0.1485, allocations: 213.1 kB / 443.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.1485, allocations: 59.28 kB / 443.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.1487, allocations: 174.4 kB / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1487, allocations: 25.7 kB / 444.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.1488, allocations: 104 kB / 444.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.1488, allocations: 23.66 kB / 444.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.1489, allocations: 21.7 kB / 444.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.149, allocations: 326.8 kB / 444.6 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.1491, allocations: 27.98 kB / 444.6 MB, free: 9.914 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1492, allocations: 31.97 kB / 444.6 MB, free: 9.883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.1494, allocations: 77.02 kB / 444.7 MB, free: 9.805 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1494, allocations: 0 / 444.7 MB, free: 9.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002457/0.1497, allocations: 113.5 kB / 444.8 MB, free: 9.688 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1497, allocations: 11.98 kB / 444.8 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.1497, allocations: 7.875 kB / 444.8 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.1497, allocations: 0 / 444.8 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.563e-05/0.1498, allocations: 19.98 kB / 444.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-06/0.1498, allocations: 0 / 444.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.243e-05/0.1499, allocations: 11.98 kB / 444.9 MB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1499, allocations: 7.938 kB / 444.9 MB, free: 9.629 MB / 382.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 (7): * Single equations (assignments): 7 * 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.856e-05/0.15, allocations: 121.8 kB / 445 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.15, allocations: 11.91 kB / 445 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.1503, allocations: 126.2 kB / 445.1 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.1504, allocations: 4 kB / 445.1 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1504, allocations: 4 kB / 445.1 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1504, allocations: 3.984 kB / 445.1 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000562/0.151, allocations: 378.5 kB / 445.5 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.151, allocations: 4 kB / 445.5 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.898e-05/0.1511, allocations: 23.97 kB / 445.5 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1511, allocations: 288 / 445.5 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1511, allocations: 11.94 kB / 445.5 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1511, allocations: 3.938 kB / 445.5 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1511, allocations: 0 / 445.5 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.1514, allocations: 211.2 kB / 445.8 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.1514, allocations: 85.02 kB / 445.8 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.1515, allocations: 4 kB / 445.8 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-05/0.1515, allocations: 15.98 kB / 445.9 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.1516, allocations: 7.984 kB / 445.9 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.1516, allocations: 4 kB / 445.9 MB, free: 8.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.1517, allocations: 135.9 kB / 446 MB, free: 8.391 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1517, allocations: 0 / 446 MB, free: 8.391 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.152, allocations: 20 kB / 446 MB, free: 8.371 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0009864/0.153, allocations: 410.3 kB / 446.4 MB, free: 7.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002823/0.1532, allocations: 83.92 kB / 446.5 MB, free: 7.914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1533, allocations: 0 / 446.5 MB, free: 7.914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1534, allocations: 39.91 kB / 446.5 MB, free: 7.875 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.1538, allocations: 27.78 kB / 446.6 MB, free: 7.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.1542, allocations: 246.7 kB / 446.8 MB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.1547, allocations: 0.7041 MB / 447.5 MB, free: 6.848 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.091e-05/0.1548, allocations: 19.92 kB / 447.5 MB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.1548, allocations: 11.44 kB / 447.5 MB, free: 6.816 MB / 382.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1548, allocations: 0 / 447.5 MB, free: 6.816 MB / 382.1 MB Notification: Performance of Templates: time 0.003371/0.1582, allocations: 1.182 MB / 448.7 MB, free: 5.637 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches