Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009605/0.0009605, allocations: 93.14 kB / 17.35 MB, free: 6.344 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.001222/0.001222, allocations: 172.2 kB / 18.25 MB, free: 5.504 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.42/1.42, allocations: 223.3 MB / 242.3 MB, free: 252 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.2363/0.2363, allocations: 44.25 MB / 337.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003481, allocations: 12 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1381, allocations: 61.92 MB / 472.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.002098/0.1402, allocations: 1.349 MB / 473.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007617/0.141, allocations: 415.2 kB / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.886e-05/0.141, allocations: 0 / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.1413, allocations: 59.86 kB / 474.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.1415, allocations: 47.88 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.1419, allocations: 118.4 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.142, allocations: 71.81 kB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1421, allocations: 20 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.657e-05/0.1422, allocations: 27.84 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.1424, allocations: 43.83 kB / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.1424, allocations: 4 kB / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.424e-05/0.1425, allocations: 39.98 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.308e-05/0.1426, allocations: 23.91 kB / 474.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.1426, allocations: 49.45 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.1429, allocations: 103.7 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1429, allocations: 4 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1429, allocations: 0 / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1429, allocations: 0 / 474.6 MB, free: 11 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.0004863/0.1434, allocations: 397.6 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1434, allocations: 12.03 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.1435, allocations: 8.844 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.1437, allocations: 192.7 kB / 475.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1437, allocations: 8.375 kB / 475.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.1437, allocations: 7.938 kB / 475.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1439, allocations: 65.67 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1439, allocations: 3.938 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1439, allocations: 0 / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1439, allocations: 0 / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.1441, allocations: 59.89 kB / 475.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.1445, allocations: 292.8 kB / 475.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.1447, allocations: 70.58 kB / 475.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.807e-05/0.1448, allocations: 24.97 kB / 475.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1449, allocations: 4 kB / 475.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.1449, allocations: 30.56 kB / 475.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1449, allocations: 0 / 475.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001523/0.1464, allocations: 480.6 kB / 476.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.1465, allocations: 55.34 kB / 476.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.1467, allocations: 184.3 kB / 476.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.1468, allocations: 25.7 kB / 476.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.1468, allocations: 104.1 kB / 476.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.1469, allocations: 35.45 kB / 476.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.1469, allocations: 13.72 kB / 476.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.147, allocations: 322.8 kB / 477 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.1472, allocations: 55.95 kB / 477 MB, free: 8.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.1473, allocations: 51.97 kB / 477.1 MB, free: 8.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.1476, allocations: 112.8 kB / 477.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1476, allocations: 0 / 477.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003212/0.1479, allocations: 161.4 kB / 477.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1479, allocations: 7.938 kB / 477.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1479, allocations: 0 / 477.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.148, allocations: 0 / 477.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1481, allocations: 31.97 kB / 477.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1481, allocations: 8 kB / 477.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.089e-05/0.1482, allocations: 11.98 kB / 477.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.1482, allocations: 8 kB / 477.4 MB, free: 7.984 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.0001198/0.1483, allocations: 118.4 kB / 477.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.1484, allocations: 15.75 kB / 477.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.1488, allocations: 190.2 kB / 477.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1488, allocations: 3.984 kB / 477.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1488, allocations: 0.5625 kB / 477.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1488, allocations: 4 kB / 477.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006953/0.1495, allocations: 487.9 kB / 478.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.1495, allocations: 4 kB / 478.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.1496, allocations: 35.97 kB / 478.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1496, allocations: 96 / 478.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1497, allocations: 7.938 kB / 478.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1497, allocations: 4 kB / 478.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1497, allocations: 64 / 478.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.1501, allocations: 268.9 kB / 478.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.1502, allocations: 93 kB / 478.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.1502, allocations: 0 / 478.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.545e-05/0.1503, allocations: 15.98 kB / 478.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.1504, allocations: 11.98 kB / 478.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.1504, allocations: 11.94 kB / 478.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.1505, allocations: 133.3 kB / 478.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1505, allocations: 0 / 478.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000267/0.1508, allocations: 23.98 kB / 478.8 MB, free: 6.469 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.00115/0.152, allocations: 462.8 kB / 479.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003654/0.1523, allocations: 119.9 kB / 479.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1524, allocations: 0 / 479.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.1525, allocations: 67.91 kB / 479.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.1529, allocations: 19.98 kB / 479.5 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006202/0.1535, allocations: 303.2 kB / 479.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/0.154, allocations: 0.7162 MB / 480.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.808e-05/0.1541, allocations: 12.42 kB / 480.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.1542, allocations: 23.38 kB / 480.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1542, allocations: 0 / 480.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of Templates: time 0.004782/0.159, allocations: 1.416 MB / 481.9 MB, free: 3.484 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches