Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 104.7 kB / 17.63 MB, free: 5.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.001477/0.001477, allocations: 192 kB / 18.56 MB, free: 4.434 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.35/1.35, allocations: 222.9 MB / 242.2 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2002/0.2002, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 68.8 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1286, allocations: 60.83 MB / 469.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.004324/0.133, allocations: 1.553 MB / 470.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1342, allocations: 439.1 kB / 471.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.369e-05/0.1343, allocations: 4 kB / 471.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005949/0.1349, allocations: 447.2 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004019/0.1354, allocations: 251.4 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004791/0.1359, allocations: 170.4 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.1362, allocations: 159.8 kB / 472.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1363, allocations: 8 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.1365, allocations: 111.7 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.1368, allocations: 211.6 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.1369, allocations: 4 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.137, allocations: 16 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.1371, allocations: 87.67 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.1373, allocations: 95 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.1377, allocations: 239 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.1377, allocations: 0 / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1377, allocations: 4 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.1377, allocations: 0 / 473 MB, free: 10.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008227/0.1385, allocations: 0.6222 MB / 473.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1386, allocations: 12.03 kB / 473.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.258e-05/0.1387, allocations: 48.25 kB / 473.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.139, allocations: 292.2 kB / 474 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.139, allocations: 4.375 kB / 474 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.139, allocations: 384 / 474 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1392, allocations: 65.8 kB / 474 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1392, allocations: 0 / 474 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1392, allocations: 3.984 kB / 474 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1392, allocations: 0 / 474 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.78e-05/0.1393, allocations: 23.98 kB / 474.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.1398, allocations: 384.7 kB / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.839e-05/0.1399, allocations: 34.56 kB / 474.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.743e-05/0.14, allocations: 16.92 kB / 474.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.14, allocations: 0 / 474.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.14, allocations: 30.56 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.1401, allocations: 0 / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002917/0.1403, allocations: 109 kB / 474.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.1404, allocations: 55.53 kB / 474.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008009/0.1412, allocations: 0.8574 MB / 475.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1412, allocations: 29.64 kB / 475.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.1414, allocations: 216.1 kB / 475.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.1414, allocations: 11.89 kB / 475.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.1415, allocations: 13.72 kB / 475.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.1417, allocations: 362.7 kB / 476.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.766e-05/0.1417, allocations: 11.98 kB / 476.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.497e-05/0.1418, allocations: 12 kB / 476.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.797e-05/0.1419, allocations: 24.84 kB / 476.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.1419, allocations: 0 / 476.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001542/0.142, allocations: 93.14 kB / 476.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1421, allocations: 8 kB / 476.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1421, allocations: 0 / 476.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1421, allocations: 0 / 476.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.932e-05/0.1422, allocations: 8.094 kB / 476.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1422, allocations: 0 / 476.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.1423, allocations: 7.984 kB / 476.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1423, allocations: 4 kB / 476.3 MB, free: 7.023 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 (2): * Single equations (assignments): 2 * 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.00024/0.1425, allocations: 209.7 kB / 476.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.593e-05/0.1426, allocations: 39.44 kB / 476.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.1428, allocations: 116.5 kB / 476.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1428, allocations: 4.031 kB / 476.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1428, allocations: 0 / 476.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1428, allocations: 4 kB / 476.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.1431, allocations: 281.5 kB / 477 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1431, allocations: 3.938 kB / 477 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.1432, allocations: 4 kB / 477 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1432, allocations: 0 / 477 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.1432, allocations: 0 / 477 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1432, allocations: 0 / 477 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1432, allocations: 8 kB / 477 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.1434, allocations: 194.9 kB / 477.2 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.348e-05/0.1435, allocations: 112.5 kB / 477.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.1436, allocations: 4 kB / 477.3 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.486e-05/0.1436, allocations: 0 / 477.3 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.1437, allocations: 3.984 kB / 477.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.1437, allocations: 4 kB / 477.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000556/0.1442, allocations: 0.6511 MB / 477.9 MB, free: 5.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1443, allocations: 4.031 kB / 478 MB, free: 5.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.1445, allocations: 12 kB / 478 MB, free: 5.285 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 (2): * Single equations (assignments): 2 * 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.0008293/0.1453, allocations: 363.5 kB / 478.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.1455, allocations: 23.98 kB / 478.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1455, allocations: 0 / 478.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.913e-05/0.1456, allocations: 11.98 kB / 478.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.146, allocations: 29.89 kB / 478.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.1471, allocations: 0.7711 MB / 479.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.1475, allocations: 0.826 MB / 480 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.564e-05/0.1476, allocations: 11.98 kB / 480 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.1476, allocations: 11.42 kB / 480 MB, free: 3.324 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1476, allocations: 4 kB / 480 MB, free: 3.32 MB / 350.1 MB Notification: Performance of Templates: time 0.004689/0.1523, allocations: 1.263 MB / 481.3 MB, free: 2.066 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches