Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001443/0.001443, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.542/1.542, allocations: 222.9 MB / 243 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.2735/0.2735, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 64.5 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1383, allocations: 60.84 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003178/0.1415, allocations: 1.63 MB / 472.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000814/0.1424, allocations: 467 kB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.431e-05/0.1424, allocations: 0 / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005585/0.143, allocations: 451.1 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003456/0.1434, allocations: 251.4 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.1438, allocations: 186.9 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.1441, allocations: 175.6 kB / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1442, allocations: 19.98 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1443, allocations: 107.8 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.1446, allocations: 219.5 kB / 474.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.1446, allocations: 4 kB / 474.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1447, allocations: 43.98 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.1448, allocations: 91.62 kB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.831e-05/0.1449, allocations: 103 kB / 474.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.1452, allocations: 271 kB / 474.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1453, allocations: 0 / 474.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1453, allocations: 0 / 474.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1453, allocations: 0 / 474.7 MB, free: 9.664 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.0007684/0.1461, allocations: 0.6491 MB / 475.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1461, allocations: 12.03 kB / 475.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/0.1462, allocations: 36.47 kB / 475.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.1465, allocations: 312.1 kB / 475.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.1465, allocations: 384 / 475.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.1465, allocations: 8.375 kB / 475.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1467, allocations: 69.73 kB / 475.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1467, allocations: 0 / 475.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1467, allocations: 0 / 475.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1468, allocations: 8 kB / 475.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.1469, allocations: 47.89 kB / 475.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.1475, allocations: 412.6 kB / 476.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.1477, allocations: 62.58 kB / 476.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.962e-05/0.1478, allocations: 28.97 kB / 476.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1478, allocations: 4 kB / 476.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1478, allocations: 30.56 kB / 476.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.1479, allocations: 0 / 476.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001429/0.1493, allocations: 499.5 kB / 476.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.1493, allocations: 55.34 kB / 476.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007348/0.1501, allocations: 0.8574 MB / 477.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1501, allocations: 25.7 kB / 477.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1503, allocations: 216 kB / 478 MB, free: 6.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.1503, allocations: 35.45 kB / 478 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.1504, allocations: 21.72 kB / 478 MB, free: 6.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1505, allocations: 370.7 kB / 478.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.1506, allocations: 55.95 kB / 478.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.1508, allocations: 51.97 kB / 478.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.151, allocations: 124.8 kB / 478.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.151, allocations: 0 / 478.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003232/0.1514, allocations: 201 kB / 478.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1514, allocations: 4 kB / 478.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1514, allocations: 0.5625 kB / 478.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1514, allocations: 0 / 478.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1515, allocations: 31.86 kB / 478.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1515, allocations: 0 / 478.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.844e-05/0.1516, allocations: 15.98 kB / 478.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1516, allocations: 8 kB / 478.9 MB, free: 5.234 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.0001766/0.1518, allocations: 217.8 kB / 479.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.1519, allocations: 43.44 kB / 479.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004111/0.1523, allocations: 233.6 kB / 479.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1523, allocations: 3.938 kB / 479.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1523, allocations: 4 kB / 479.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1523, allocations: 0 / 479.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007843/0.1531, allocations: 0.5936 MB / 479.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1531, allocations: 3.938 kB / 480 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-05/0.1532, allocations: 27.98 kB / 480 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.1533, allocations: 8.062 kB / 480 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1533, allocations: 0 / 480 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.1533, allocations: 4 kB / 480 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1533, allocations: 0 / 480 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.1537, allocations: 304.5 kB / 480.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/0.1538, allocations: 112.5 kB / 480.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.1538, allocations: 7.984 kB / 480.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-05/0.1539, allocations: 8 kB / 480.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.1539, allocations: 7.984 kB / 480.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.154, allocations: 8 kB / 480.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005465/0.1545, allocations: 0.6433 MB / 481.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1545, allocations: 0 / 481.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1548, allocations: 36 kB / 481.1 MB, free: 2.867 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.001008/0.1558, allocations: 455.4 kB / 481.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003336/0.1562, allocations: 139.7 kB / 481.7 MB, free: 2.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1562, allocations: 4 kB / 481.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.1563, allocations: 67.89 kB / 481.8 MB, free: 2.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.1567, allocations: 33.73 kB / 481.8 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.1578, allocations: 0.8712 MB / 482.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.1582, allocations: 0.8377 MB / 483.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.841e-05/0.1583, allocations: 32.53 kB / 483.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.1583, allocations: 15.44 kB / 483.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1583, allocations: 0 / 483.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of Templates: time 0.00716/0.1655, allocations: 1.89 MB / 485.4 MB, free: 14.66 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches