Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 90.78 kB / 17.35 MB, free: 6.035 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.001329/0.001329, allocations: 174.5 kB / 18.26 MB, free: 5.383 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.474/1.474, allocations: 223.3 MB / 242.3 MB, free: 208 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.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003682, allocations: 13.75 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.137, allocations: 61.92 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.002176/0.1392, allocations: 1.353 MB / 473.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007861/0.14, allocations: 415.2 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.932e-05/0.1401, allocations: 0 / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.1403, allocations: 55.86 kB / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.1405, allocations: 51.81 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.1408, allocations: 110.7 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.141, allocations: 67.81 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1411, allocations: 23.98 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.71e-05/0.1412, allocations: 23.86 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.511e-05/0.1413, allocations: 39.83 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1413, allocations: 4 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1414, allocations: 43.98 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.509e-05/0.1415, allocations: 19.92 kB / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.963e-05/0.1416, allocations: 53.44 kB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.1417, allocations: 95.69 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1418, allocations: 4 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1418, allocations: 0 / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1418, allocations: 4 kB / 474.6 MB, free: 10.98 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.0005445/0.1423, allocations: 399.4 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1424, allocations: 8.031 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.1424, allocations: 8.844 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.1426, allocations: 196.7 kB / 475.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1426, allocations: 4.375 kB / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.1427, allocations: 11.92 kB / 475.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.1429, allocations: 77.55 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1429, allocations: 0 / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1429, allocations: 0 / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1429, allocations: 0 / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.1431, allocations: 55.95 kB / 475.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.1436, allocations: 300.8 kB / 475.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.1438, allocations: 58.55 kB / 475.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.025e-05/0.1439, allocations: 32.97 kB / 475.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1439, allocations: 0 / 475.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.144, allocations: 30.56 kB / 475.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.144, allocations: 0 / 475.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001521/0.1455, allocations: 476.7 kB / 476.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.1455, allocations: 51.41 kB / 476.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.1457, allocations: 178.4 kB / 476.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.1457, allocations: 29.7 kB / 476.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.06e-05/0.1458, allocations: 108.1 kB / 476.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.1459, allocations: 35.45 kB / 476.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.1459, allocations: 17.7 kB / 476.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.146, allocations: 322.8 kB / 476.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.1462, allocations: 47.97 kB / 477 MB, free: 8.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1463, allocations: 55.97 kB / 477 MB, free: 8.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.1466, allocations: 112.8 kB / 477.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1466, allocations: 0 / 477.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003318/0.1469, allocations: 165.4 kB / 477.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1469, allocations: 4 kB / 477.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.147, allocations: 0 / 477.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.147, allocations: 7.984 kB / 477.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1471, allocations: 27.98 kB / 477.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1471, allocations: 0 / 477.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.896e-05/0.1472, allocations: 15.98 kB / 477.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1472, allocations: 8 kB / 477.4 MB, free: 7.961 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.0001035/0.1473, allocations: 118.4 kB / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.1474, allocations: 15.75 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004103/0.1478, allocations: 186.2 kB / 477.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1478, allocations: 0.5625 kB / 477.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1478, allocations: 0 / 477.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1478, allocations: 0 / 477.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007077/0.1485, allocations: 495.9 kB / 478.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1485, allocations: 4 kB / 478.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.1486, allocations: 31.97 kB / 478.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1486, allocations: 0 / 478.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.1487, allocations: 8 kB / 478.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1487, allocations: 0 / 478.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1487, allocations: 3.938 kB / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.1491, allocations: 269 kB / 478.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.501e-05/0.1492, allocations: 89.02 kB / 478.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.1492, allocations: 4 kB / 478.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.1493, allocations: 11.98 kB / 478.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.1494, allocations: 11.98 kB / 478.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.1494, allocations: 7.938 kB / 478.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.1495, allocations: 134.8 kB / 478.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.803e-06/0.1495, allocations: 4 kB / 478.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.1498, allocations: 35.92 kB / 478.8 MB, free: 6.445 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.001183/0.151, allocations: 453 kB / 479.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003489/0.1513, allocations: 119.8 kB / 479.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1514, allocations: 8 kB / 479.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.1515, allocations: 63.91 kB / 479.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.1519, allocations: 24.16 kB / 479.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000569/0.1525, allocations: 307.2 kB / 479.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.1529, allocations: 0.7121 MB / 480.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.318e-05/0.1529, allocations: 16.42 kB / 480.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.153, allocations: 15.44 kB / 480.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.153, allocations: 0 / 480.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of Templates: time 0.004479/0.1575, allocations: 1.425 MB / 481.9 MB, free: 3.457 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches