Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 94.62 kB / 16.98 MB, free: 5.938 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.001253/0.001253, allocations: 184.3 kB / 17.87 MB, free: 5.594 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.448/1.448, allocations: 223.2 MB / 241.8 MB, free: 380 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.216/0.216, allocations: 44.23 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004011, allocations: 11.98 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1406, allocations: 61.92 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.001966/0.1426, allocations: 1.326 MB / 472.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006744/0.1433, allocations: 375.5 kB / 473.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.1434, allocations: 0 / 473.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.1436, allocations: 43.88 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.1437, allocations: 43.88 kB / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.144, allocations: 115.1 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.1442, allocations: 47.92 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.086e-05/0.1442, allocations: 8 kB / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.735e-05/0.1443, allocations: 31.84 kB / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.94e-05/0.1444, allocations: 23.91 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.1444, allocations: 4 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.101e-05/0.1445, allocations: 35.92 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.1445, allocations: 19.97 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.1446, allocations: 37.64 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.1447, allocations: 72.11 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1447, allocations: 0 / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1447, allocations: 0 / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1447, allocations: 0 / 473.6 MB, free: 11.58 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.0004962/0.1452, allocations: 410.9 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1453, allocations: 8.562 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.1453, allocations: 7.906 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.1455, allocations: 192.9 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1455, allocations: 8 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.1456, allocations: 7.938 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1457, allocations: 65.62 kB / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1458, allocations: 7.938 kB / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1458, allocations: 0 / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1458, allocations: 0 / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.1459, allocations: 47.97 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.1463, allocations: 304.7 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.1465, allocations: 62.58 kB / 474.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1466, allocations: 0 / 474.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.1466, allocations: 30.56 kB / 474.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 7.62e-07/0.1466, allocations: 4 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00142/0.148, allocations: 461.3 kB / 475.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.1481, allocations: 55.41 kB / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.1482, allocations: 180.4 kB / 475.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.1483, allocations: 25.7 kB / 475.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.1483, allocations: 100.1 kB / 475.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.1484, allocations: 43.44 kB / 475.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-06/0.1484, allocations: 4 kB / 475.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1485, allocations: 322.8 kB / 475.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.1487, allocations: 51.97 kB / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.1488, allocations: 51.97 kB / 476 MB, free: 8.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.1489, allocations: 55.97 kB / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1489, allocations: 0 / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003144/0.1493, allocations: 157.4 kB / 476.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1493, allocations: 8 kB / 476.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1493, allocations: 0 / 476.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.1493, allocations: 0 / 476.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1494, allocations: 39.91 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1494, allocations: 0 / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.677e-05/0.1495, allocations: 19.98 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1495, allocations: 3.984 kB / 476.3 MB, free: 8.684 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.934e-05/0.1496, allocations: 125.8 kB / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.1497, allocations: 7.906 kB / 476.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003615/0.15, allocations: 186.2 kB / 476.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.15, allocations: 0 / 476.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.15, allocations: 0 / 476.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1501, allocations: 3.938 kB / 476.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006205/0.1507, allocations: 484 kB / 477.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1507, allocations: 8 kB / 477.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.1508, allocations: 35.97 kB / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1508, allocations: 0 / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1508, allocations: 0 / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1508, allocations: 4 kB / 477.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.1508, allocations: 3.953 kB / 477.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.1512, allocations: 296.9 kB / 477.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.1513, allocations: 92.97 kB / 477.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.1513, allocations: 0 / 477.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.711e-05/0.1514, allocations: 15.98 kB / 477.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.1515, allocations: 12.17 kB / 477.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.1515, allocations: 8 kB / 477.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1516, allocations: 137.9 kB / 477.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1516, allocations: 0 / 477.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.1518, allocations: 27.91 kB / 477.7 MB, free: 7.137 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 (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.0009453/0.1528, allocations: 457.5 kB / 478.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.1531, allocations: 123.8 kB / 478.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1531, allocations: 0 / 478.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.1533, allocations: 75.83 kB / 478.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.1535, allocations: 10.81 kB / 478.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.154, allocations: 287.3 kB / 478.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.1544, allocations: 0.7121 MB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.292e-05/0.1544, allocations: 24.39 kB / 479.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.1545, allocations: 11.44 kB / 479.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1545, allocations: 0 / 479.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of Templates: time 0.003796/0.1583, allocations: 1.425 MB / 480.8 MB, free: 4.164 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches