Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 92.97 kB / 17 MB, free: 6.797 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.001477/0.001476, allocations: 183.3 kB / 17.89 MB, free: 6.055 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.493/1.493, allocations: 223.2 MB / 241.9 MB, free: 284 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2457/0.2457, allocations: 44.25 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003228, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1366, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002262/0.1389, allocations: 1.317 MB / 472.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.1405, allocations: 0.9844 MB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.938e-05/0.1406, allocations: 4 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.1409, allocations: 23.86 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.1411, allocations: 31.91 kB / 474 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.1416, allocations: 158.2 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.1418, allocations: 59.78 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1419, allocations: 19.97 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.177e-05/0.142, allocations: 19.92 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.1422, allocations: 23.86 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1422, allocations: 4 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1423, allocations: 43.97 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.1424, allocations: 15.92 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.1424, allocations: 37.64 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.1426, allocations: 72.09 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1426, allocations: 0 / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1426, allocations: 0 / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1426, allocations: 0 / 474.4 MB, free: 10.87 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005689/0.1432, allocations: 387.1 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1433, allocations: 12.56 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.1433, allocations: 7.906 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.1436, allocations: 183 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1436, allocations: 0 / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.1436, allocations: 7.984 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.1438, allocations: 87.28 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1439, allocations: 3.938 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1439, allocations: 4 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1439, allocations: 0 / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.144, allocations: 43.95 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.1446, allocations: 316.7 kB / 475.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.1447, allocations: 50.55 kB / 475.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.725e-05/0.1448, allocations: 36.88 kB / 475.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.1448, allocations: 0 / 475.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.1449, allocations: 34.56 kB / 475.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1449, allocations: 0 / 475.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008587/0.1458, allocations: 257.1 kB / 475.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.1458, allocations: 77.11 kB / 475.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.146, allocations: 140.5 kB / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.146, allocations: 29.7 kB / 476 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.1461, allocations: 92.12 kB / 476.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.1461, allocations: 23.66 kB / 476.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.1461, allocations: 0 / 476.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1463, allocations: 326.8 kB / 476.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.1464, allocations: 43.97 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.1466, allocations: 65.67 kB / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.1467, allocations: 47.97 kB / 476.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1467, allocations: 0 / 476.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002786/0.147, allocations: 145.6 kB / 476.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.147, allocations: 4 kB / 476.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.147, allocations: 0 / 476.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.147, allocations: 4 kB / 476.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.1472, allocations: 27.97 kB / 476.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1472, allocations: 0 / 476.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.115e-05/0.1473, allocations: 12 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.1473, allocations: 3.984 kB / 476.8 MB, free: 8.211 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.1474, allocations: 121.8 kB / 476.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.1474, allocations: 15.84 kB / 477 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.1478, allocations: 154.2 kB / 477.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1478, allocations: 4 kB / 477.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.1478, allocations: 0 / 477.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1478, allocations: 7.938 kB / 477.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.1484, allocations: 422.5 kB / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1484, allocations: 0 / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.164e-05/0.1485, allocations: 23.92 kB / 477.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1485, allocations: 0 / 477.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1485, allocations: 8 kB / 477.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1485, allocations: 3.984 kB / 477.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1485, allocations: 0 / 477.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.1489, allocations: 235.4 kB / 477.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.149, allocations: 89 kB / 477.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.149, allocations: 0 / 477.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.1491, allocations: 15.98 kB / 477.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.1492, allocations: 7.984 kB / 477.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.1492, allocations: 4.281 kB / 477.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.253e-05/0.1493, allocations: 103.3 kB / 478 MB, free: 6.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1493, allocations: 3.938 kB / 478 MB, free: 6.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1495, allocations: 28 kB / 478 MB, free: 6.883 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001146/0.1507, allocations: 447.9 kB / 478.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003149/0.151, allocations: 107.9 kB / 478.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.151, allocations: 0 / 478.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.1512, allocations: 59.91 kB / 478.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.1515, allocations: 19.94 kB / 478.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.1519, allocations: 225.5 kB / 478.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.1522, allocations: 0.6965 MB / 479.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.363e-05/0.1523, allocations: 28.22 kB / 479.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.1524, allocations: 11.44 kB / 479.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1524, allocations: 3.938 kB / 479.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of Templates: time 0.004171/0.1566, allocations: 1.425 MB / 481 MB, free: 3.996 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches