Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.001739/0.001739, allocations: 116.1 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.002089/0.002089, allocations: 216.3 kB / 21.42 MB, free: 1.664 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.508/1.508, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2267/0.2267, allocations: 46.93 MB / 357.8 MB, free: 10.31 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.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.89 kB / 0.4921 GB, free: 7.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1309, allocations: 65.99 MB / 0.5565 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004162/0.1351, allocations: 2.119 MB / 0.5586 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.1379, allocations: 1.407 MB / 0.56 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003115/0.1382, allocations: 3.938 kB / 0.56 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003704/0.1386, allocations: 67.42 kB / 0.56 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007065/0.1393, allocations: 211.1 kB / 0.5602 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.1409, allocations: 0.6148 MB / 0.5608 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005892/0.1414, allocations: 354.9 kB / 0.5612 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.1416, allocations: 64.69 kB / 0.5612 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003621/0.142, allocations: 159.3 kB / 0.5614 GB, free: 364 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.1424, allocations: 211.2 kB / 0.5616 GB, free: 152 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.1424, allocations: 16 kB / 0.5616 GB, free: 136 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.1426, allocations: 71.91 kB / 0.5617 GB, free: 64 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002142/0.1428, allocations: 155.5 kB / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.143, allocations: 174.5 kB / 0.562 GB, free: 15.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006262/0.1436, allocations: 425.9 kB / 0.5624 GB, free: 15.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.1436, allocations: 4 kB / 0.5624 GB, free: 15.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1436, allocations: 0 / 0.5624 GB, free: 15.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.1436, allocations: 0 / 0.5624 GB, free: 15.32 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001275/0.1449, allocations: 0.8315 MB / 0.5632 GB, free: 14.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.145, allocations: 8.031 kB / 0.5632 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004929/0.1455, allocations: 96.47 kB / 0.5633 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007618/0.1462, allocations: 497 kB / 0.5638 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1462, allocations: 8.375 kB / 0.5638 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.1463, allocations: 16.08 kB / 0.5638 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/0.1467, allocations: 155.3 kB / 0.564 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1467, allocations: 3.938 kB / 0.564 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.1467, allocations: 4 kB / 0.564 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1467, allocations: 11.94 kB / 0.564 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/0.147, allocations: 115.8 kB / 0.5641 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.1482, allocations: 0.7113 MB / 0.5648 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.1485, allocations: 129.2 kB / 0.5649 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.1487, allocations: 61.8 kB / 0.565 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-05/0.1487, allocations: 11.97 kB / 0.565 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.1488, allocations: 38.56 kB / 0.565 GB, free: 12.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.1488, allocations: 0 / 0.565 GB, free: 12.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=20): time 0.002325/0.1511, allocations: 0.765 MB / 0.5658 GB, free: 11.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/0.1512, allocations: 77.11 kB / 0.5658 GB, free: 11.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.1522, allocations: 0.9025 MB / 0.5667 GB, free: 10.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.1523, allocations: 29.7 kB / 0.5668 GB, free: 10.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.1525, allocations: 272.3 kB / 0.567 GB, free: 10.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.931e-05/0.1526, allocations: 71.41 kB / 0.5671 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.678e-05/0.1527, allocations: 41.7 kB / 0.5671 GB, free: 10.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.1529, allocations: 378.7 kB / 0.5675 GB, free: 9.863 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.1532, allocations: 111.9 kB / 0.5676 GB, free: 9.754 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.1535, allocations: 131.2 kB / 0.5677 GB, free: 9.621 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006201/0.1541, allocations: 253.6 kB / 0.568 GB, free: 9.367 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1541, allocations: 4 kB / 0.568 GB, free: 9.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008059/0.1549, allocations: 341.2 kB / 0.5683 GB, free: 9.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1549, allocations: 8 kB / 0.5683 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1549, allocations: 3.938 kB / 0.5683 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1549, allocations: 0 / 0.5683 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.1553, allocations: 55.95 kB / 0.5683 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.1553, allocations: 3.938 kB / 0.5684 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.1555, allocations: 23.97 kB / 0.5684 GB, free: 8.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.1555, allocations: 7.984 kB / 0.5684 GB, free: 8.922 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002497/0.1557, allocations: 219.9 kB / 0.5686 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.1559, allocations: 63.58 kB / 0.5687 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009384/0.1568, allocations: 398.2 kB / 0.569 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1568, allocations: 0 / 0.569 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1568, allocations: 384 / 0.569 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1568, allocations: 4 kB / 0.569 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.1584, allocations: 0.9541 MB / 0.57 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1584, allocations: 384 / 0.57 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.1587, allocations: 59.89 kB / 0.57 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1587, allocations: 0 / 0.57 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.1587, allocations: 12 kB / 0.57 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.1587, allocations: 7.922 kB / 0.57 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1587, allocations: 0 / 0.57 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008897/0.1596, allocations: 0.5138 MB / 0.5705 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.1598, allocations: 140.7 kB / 0.5707 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.224e-05/0.1598, allocations: 4 kB / 0.5707 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.1601, allocations: 23.92 kB / 0.5707 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.1601, allocations: 15.97 kB / 0.5707 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.1602, allocations: 15.98 kB / 0.5707 GB, free: 6.398 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007653/0.1609, allocations: 0.6591 MB / 0.5714 GB, free: 5.746 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1609, allocations: 4 kB / 0.5714 GB, free: 5.742 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003906/0.1613, allocations: 63.94 kB / 0.5714 GB, free: 5.68 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001535/0.1628, allocations: 419.8 kB / 0.5718 GB, free: 5.422 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007666/0.1636, allocations: 253.2 kB / 0.5721 GB, free: 5.176 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1636, allocations: 4 kB / 0.5721 GB, free: 5.172 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003424/0.164, allocations: 127.8 kB / 0.5722 GB, free: 5.047 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006087/0.1646, allocations: 78.2 kB / 0.5723 GB, free: 4.973 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.1662, allocations: 1.038 MB / 0.5733 GB, free: 3.895 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/0.1668, allocations: 0.8811 MB / 0.5742 GB, free: 2.988 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.167, allocations: 51.41 kB / 0.5742 GB, free: 2.938 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.167, allocations: 0 / 0.5742 GB, free: 2.938 MB / 430.1 MB Notification: Performance of Templates: time 0.0104/0.1773, allocations: 6.394 MB / 0.5805 GB, free: 12.55 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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: 8.442358256987063]