Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001589/0.001589, allocations: 107.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001739/0.001739, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.59/1.59, allocations: 230.2 MB / 255.2 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2416/0.2416, allocations: 46.88 MB / 358.1 MB, free: 10.52 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 83.86 kB / 0.4924 GB, free: 8.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.14, allocations: 65.98 MB / 0.5568 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003963/0.144, allocations: 2.124 MB / 0.5589 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002609/0.1466, allocations: 1.402 MB / 0.5603 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.1468, allocations: 4 kB / 0.5603 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.1472, allocations: 75.36 kB / 0.5603 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006242/0.1478, allocations: 207.1 kB / 0.5605 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.1493, allocations: 0.6287 MB / 0.5611 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005672/0.1499, allocations: 351 kB / 0.5615 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.1501, allocations: 64.69 kB / 0.5615 GB, free: 1.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.1504, allocations: 143.4 kB / 0.5617 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003162/0.1507, allocations: 219.2 kB / 0.5619 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.341e-05/0.1508, allocations: 12 kB / 0.5619 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.151, allocations: 75.91 kB / 0.562 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.1512, allocations: 151.5 kB / 0.5621 GB, free: 492 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.1513, allocations: 174.6 kB / 0.5623 GB, free: 316 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005762/0.1519, allocations: 430 kB / 0.5627 GB, free: 15.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1519, allocations: 0 / 0.5627 GB, free: 15.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1519, allocations: 0 / 0.5627 GB, free: 15.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.1519, allocations: 0 / 0.5627 GB, free: 15.88 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.001193/0.1531, allocations: 0.8277 MB / 0.5635 GB, free: 15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.1532, allocations: 12.03 kB / 0.5635 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004798/0.1537, allocations: 92.48 kB / 0.5636 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007532/0.1544, allocations: 496.9 kB / 0.5641 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1544, allocations: 8.375 kB / 0.5641 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.1545, allocations: 20.27 kB / 0.5641 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.1549, allocations: 163.5 kB / 0.5643 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.1549, allocations: 4 kB / 0.5643 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.1549, allocations: 4 kB / 0.5643 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.1549, allocations: 4 kB / 0.5643 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003356/0.1552, allocations: 115.8 kB / 0.5644 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.1564, allocations: 0.7113 MB / 0.5651 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.1567, allocations: 129.2 kB / 0.5652 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.1569, allocations: 69.78 kB / 0.5653 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.1569, allocations: 7.984 kB / 0.5653 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.157, allocations: 34.78 kB / 0.5653 GB, free: 13.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.157, allocations: 0 / 0.5653 GB, free: 13.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=20): time 0.002286/0.1592, allocations: 0.7645 MB / 0.566 GB, free: 12.24 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/0.1593, allocations: 85.11 kB / 0.5661 GB, free: 12.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.1604, allocations: 0.8986 MB / 0.567 GB, free: 11.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.1604, allocations: 29.7 kB / 0.567 GB, free: 11.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.1607, allocations: 268.3 kB / 0.5673 GB, free: 10.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.574e-05/0.1607, allocations: 71.42 kB / 0.5674 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.1608, allocations: 41.69 kB / 0.5674 GB, free: 10.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.161, allocations: 370.8 kB / 0.5678 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.1614, allocations: 115.9 kB / 0.5679 GB, free: 10.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.1617, allocations: 125.6 kB / 0.568 GB, free: 10.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006248/0.1623, allocations: 258.4 kB / 0.5682 GB, free: 9.938 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1623, allocations: 0 / 0.5682 GB, free: 9.938 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008134/0.1631, allocations: 353 kB / 0.5686 GB, free: 9.586 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1631, allocations: 4 kB / 0.5686 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1631, allocations: 0 / 0.5686 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.1632, allocations: 4 kB / 0.5686 GB, free: 9.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.1635, allocations: 47.95 kB / 0.5686 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.1635, allocations: 8 kB / 0.5686 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.1637, allocations: 27.97 kB / 0.5687 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.1637, allocations: 4 kB / 0.5687 GB, free: 9.492 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.0002581/0.164, allocations: 225.6 kB / 0.5689 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.1641, allocations: 63.58 kB / 0.5689 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000921/0.165, allocations: 390.6 kB / 0.5693 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.165, allocations: 4 kB / 0.5693 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.165, allocations: 0 / 0.5693 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.165, allocations: 96 / 0.5693 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.1667, allocations: 0.9619 MB / 0.5703 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1667, allocations: 0 / 0.5703 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.167, allocations: 55.88 kB / 0.5703 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.167, allocations: 4 kB / 0.5703 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.167, allocations: 3.938 kB / 0.5703 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.167, allocations: 4 kB / 0.5703 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.167, allocations: 0 / 0.5703 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000872/0.1679, allocations: 0.5158 MB / 0.5708 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.168, allocations: 140.7 kB / 0.571 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/0.1681, allocations: 8 kB / 0.571 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.1683, allocations: 27.92 kB / 0.571 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/0.1684, allocations: 23.91 kB / 0.571 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.1684, allocations: 11.98 kB / 0.571 GB, free: 6.961 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00082/0.1693, allocations: 0.6591 MB / 0.5717 GB, free: 6.309 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1693, allocations: 0 / 0.5717 GB, free: 6.309 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004098/0.1697, allocations: 64 kB / 0.5717 GB, free: 6.246 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.001558/0.1712, allocations: 402.6 kB / 0.5721 GB, free: 5.992 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007881/0.172, allocations: 255.6 kB / 0.5724 GB, free: 5.742 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.172, allocations: 0 / 0.5724 GB, free: 5.742 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003429/0.1724, allocations: 139.8 kB / 0.5725 GB, free: 5.605 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006484/0.173, allocations: 77.84 kB / 0.5726 GB, free: 5.531 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.1747, allocations: 1.034 MB / 0.5736 GB, free: 4.457 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005656/0.1753, allocations: 0.8847 MB / 0.5744 GB, free: 3.547 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.1755, allocations: 43.42 kB / 0.5745 GB, free: 3.504 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1755, allocations: 0 / 0.5745 GB, free: 3.504 MB / 430.1 MB Notification: Performance of Templates: time 0.01138/0.1868, allocations: 6.394 MB / 0.5807 GB, free: 13.12 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.191432722145692]