Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002222/0.002222, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2456/0.2456, allocations: 46.92 MB / 357.8 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 79.86 kB / 0.4921 GB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1337, allocations: 65.99 MB / 0.5565 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003151/0.1369, allocations: 1.687 MB / 0.5582 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1379, allocations: 0.565 MB / 0.5587 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.188e-05/0.138, allocations: 4 kB / 0.5587 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005672/0.1385, allocations: 451.1 kB / 0.5592 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004715/0.139, allocations: 295.3 kB / 0.5595 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.1393, allocations: 135 kB / 0.5596 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.1396, allocations: 175.7 kB / 0.5598 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1397, allocations: 20.16 kB / 0.5598 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.1398, allocations: 111.8 kB / 0.5599 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.1401, allocations: 259.4 kB / 0.5601 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1401, allocations: 4 kB / 0.5601 GB, free: 1.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.1402, allocations: 51.98 kB / 0.5602 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.1403, allocations: 87.67 kB / 0.5603 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.028e-05/0.1404, allocations: 99 kB / 0.5604 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.1408, allocations: 278.5 kB / 0.5606 GB, free: 1.121 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1408, allocations: 0 / 0.5606 GB, free: 1.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1408, allocations: 0 / 0.5606 GB, free: 1.121 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1408, allocations: 4 kB / 0.5606 GB, free: 1.117 MB / 414.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.0007991/0.1416, allocations: 0.6762 MB / 0.5613 GB, free: 400 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1416, allocations: 8.031 kB / 0.5613 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.129e-05/0.1417, allocations: 48.61 kB / 0.5613 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.142, allocations: 304.7 kB / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.142, allocations: 4.375 kB / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.142, allocations: 384 / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1422, allocations: 73.67 kB / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1422, allocations: 0 / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1422, allocations: 4 kB / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1422, allocations: 4 kB / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.1424, allocations: 31.97 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.1429, allocations: 408.5 kB / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.1431, allocations: 50.56 kB / 0.5622 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.851e-05/0.1432, allocations: 24.97 kB / 0.5622 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1432, allocations: 7.984 kB / 0.5622 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.1433, allocations: 34.56 kB / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.1433, allocations: 0 / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001587/0.1449, allocations: 484.5 kB / 0.5627 GB, free: 14.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.1449, allocations: 55.34 kB / 0.5628 GB, free: 14.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008916/0.1458, allocations: 0.8614 MB / 0.5636 GB, free: 13.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.1458, allocations: 25.7 kB / 0.5636 GB, free: 13.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.146, allocations: 220 kB / 0.5638 GB, free: 13.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.1461, allocations: 35.69 kB / 0.5639 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.1461, allocations: 29.72 kB / 0.5639 GB, free: 13.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1463, allocations: 366.8 kB / 0.5643 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.1464, allocations: 39.97 kB / 0.5643 GB, free: 13.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.1466, allocations: 39.97 kB / 0.5643 GB, free: 13.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.1468, allocations: 108.7 kB / 0.5644 GB, free: 12.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1468, allocations: 0 / 0.5644 GB, free: 12.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003577/0.1472, allocations: 177.6 kB / 0.5646 GB, free: 12.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1472, allocations: 5.875 kB / 0.5646 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1472, allocations: 0 / 0.5646 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1472, allocations: 0 / 0.5646 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1473, allocations: 35.91 kB / 0.5646 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.1473, allocations: 8 kB / 0.5647 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.133e-05/0.1474, allocations: 4 kB / 0.5647 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1474, allocations: 7.938 kB / 0.5647 GB, free: 12.75 MB / 430.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.0002066/0.1476, allocations: 216 kB / 0.5649 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/0.1477, allocations: 51.67 kB / 0.5649 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.1481, allocations: 209.3 kB / 0.5651 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1482, allocations: 3.938 kB / 0.5651 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1482, allocations: 3.984 kB / 0.5651 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1482, allocations: 0 / 0.5651 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008053/0.149, allocations: 0.5666 MB / 0.5657 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.149, allocations: 8.047 kB / 0.5657 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.1491, allocations: 31.98 kB / 0.5657 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1491, allocations: 0 / 0.5657 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1491, allocations: 4 kB / 0.5657 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1491, allocations: 4 kB / 0.5657 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1491, allocations: 0 / 0.5657 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/0.1496, allocations: 292.8 kB / 0.566 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.129e-05/0.1497, allocations: 116.8 kB / 0.5661 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.1497, allocations: 4 kB / 0.5661 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1498, allocations: 11.98 kB / 0.5661 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.1499, allocations: 11.98 kB / 0.5661 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.1499, allocations: 4 kB / 0.5661 GB, free: 11.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006451/0.1505, allocations: 0.6511 MB / 0.5668 GB, free: 10.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1505, allocations: 0 / 0.5668 GB, free: 10.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.1508, allocations: 35.94 kB / 0.5668 GB, free: 10.43 MB / 430.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.001697/0.1525, allocations: 470.6 kB / 0.5673 GB, free: 10.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003314/0.1528, allocations: 99.88 kB / 0.5674 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1528, allocations: 0 / 0.5674 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.153, allocations: 55.89 kB / 0.5674 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.1534, allocations: 34.02 kB / 0.5674 GB, free: 9.961 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.1546, allocations: 0.8956 MB / 0.5683 GB, free: 9.027 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.1551, allocations: 0.826 MB / 0.5691 GB, free: 8.172 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.1552, allocations: 15.44 kB / 0.5691 GB, free: 8.16 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1552, allocations: 0 / 0.5691 GB, free: 8.16 MB / 430.1 MB Notification: Performance of Templates: time 0.007335/0.1625, allocations: 4.124 MB / 0.5732 GB, free: 4.039 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.748495545005426]