Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.001616/0.001616, allocations: 113.7 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.001748/0.001748, allocations: 205 kB / 22.12 MB, free: 0.9219 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.49/1.49, allocations: 230.3 MB / 255.2 MB, free: 15.22 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.2557/0.2557, allocations: 46.91 MB / 358.2 MB, free: 10.41 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.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.002302/0.002302, allocations: 79.88 kB / 0.4925 GB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1358, allocations: 66 MB / 0.557 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003705/0.1396, allocations: 2.107 MB / 0.559 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.1417, allocations: 1.305 MB / 0.5603 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.877e-05/0.1418, allocations: 4 kB / 0.5603 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.142, allocations: 55.52 kB / 0.5604 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004811/0.1425, allocations: 211.1 kB / 0.5606 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009322/0.1434, allocations: 457.8 kB / 0.561 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004189/0.1438, allocations: 335 kB / 0.5613 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.144, allocations: 48.72 kB / 0.5614 GB, free: 1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002407/0.1442, allocations: 155.3 kB / 0.5615 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.1445, allocations: 207.2 kB / 0.5617 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.1445, allocations: 20 kB / 0.5617 GB, free: 0.625 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.1447, allocations: 71.91 kB / 0.5618 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.1448, allocations: 139.6 kB / 0.5619 GB, free: 428 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.145, allocations: 178.6 kB / 0.5621 GB, free: 248 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004895/0.1455, allocations: 413.9 kB / 0.5625 GB, free: 15.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1455, allocations: 0 / 0.5625 GB, free: 15.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1455, allocations: 0 / 0.5625 GB, free: 15.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1455, allocations: 0 / 0.5625 GB, free: 15.84 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.001095/0.1466, allocations: 0.8237 MB / 0.5633 GB, free: 14.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1466, allocations: 12.03 kB / 0.5633 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004176/0.147, allocations: 92.52 kB / 0.5634 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006487/0.1477, allocations: 488.9 kB / 0.5639 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1477, allocations: 8.375 kB / 0.5639 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.1477, allocations: 12.38 kB / 0.5639 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.1481, allocations: 151.5 kB / 0.564 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.1481, allocations: 3.953 kB / 0.564 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.1481, allocations: 4 kB / 0.564 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.1481, allocations: 0 / 0.564 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.1484, allocations: 107.8 kB / 0.5642 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009545/0.1494, allocations: 0.6723 MB / 0.5648 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.1497, allocations: 117.2 kB / 0.5649 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.1498, allocations: 62.03 kB / 0.565 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.1498, allocations: 8 kB / 0.565 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.1499, allocations: 34.5 kB / 0.565 GB, free: 13.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.1499, allocations: 0 / 0.565 GB, free: 13.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=20): time 0.002078/0.152, allocations: 0.6949 MB / 0.5657 GB, free: 12.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.152, allocations: 85.11 kB / 0.5658 GB, free: 12.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.1531, allocations: 0.8985 MB / 0.5667 GB, free: 11.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.1531, allocations: 29.7 kB / 0.5667 GB, free: 11.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.1533, allocations: 264.4 kB / 0.5669 GB, free: 11.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.892e-05/0.1534, allocations: 67.36 kB / 0.567 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.859e-05/0.1535, allocations: 41.7 kB / 0.567 GB, free: 10.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.1537, allocations: 370.8 kB / 0.5674 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.1539, allocations: 91.94 kB / 0.5675 GB, free: 10.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.1542, allocations: 112.2 kB / 0.5676 GB, free: 10.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005686/0.1548, allocations: 217.7 kB / 0.5678 GB, free: 10.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1548, allocations: 0 / 0.5678 GB, free: 10.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007386/0.1555, allocations: 313 kB / 0.5681 GB, free: 9.836 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1556, allocations: 8 kB / 0.5681 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1556, allocations: 0 / 0.5681 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1556, allocations: 0 / 0.5681 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.1559, allocations: 51.95 kB / 0.5682 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1559, allocations: 0 / 0.5682 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.1561, allocations: 23.97 kB / 0.5682 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.1561, allocations: 7.938 kB / 0.5682 GB, free: 9.746 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.0002352/0.1563, allocations: 217.7 kB / 0.5684 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.1564, allocations: 59.58 kB / 0.5684 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008451/0.1573, allocations: 350.5 kB / 0.5688 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1573, allocations: 4.094 kB / 0.5688 GB, free: 9.109 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.1573, allocations: 11.92 kB / 0.5688 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.1573, allocations: 0 / 0.5688 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.1587, allocations: 0.88 MB / 0.5697 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1587, allocations: 4 kB / 0.5697 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.159, allocations: 59.83 kB / 0.5697 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.159, allocations: 4 kB / 0.5697 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.159, allocations: 0 / 0.5697 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.159, allocations: 4 kB / 0.5697 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.159, allocations: 3.984 kB / 0.5697 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008122/0.1598, allocations: 486.2 kB / 0.5702 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.16, allocations: 136.7 kB / 0.5703 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.16, allocations: 11.92 kB / 0.5703 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.1603, allocations: 23.98 kB / 0.5704 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.362e-05/0.1604, allocations: 23.91 kB / 0.5704 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.1604, allocations: 8 kB / 0.5704 GB, free: 7.375 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007631/0.1611, allocations: 0.6552 MB / 0.571 GB, free: 6.727 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1611, allocations: 0 / 0.571 GB, free: 6.727 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003834/0.1615, allocations: 63.94 kB / 0.5711 GB, free: 6.664 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.001461/0.163, allocations: 390 kB / 0.5715 GB, free: 6.414 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006686/0.1637, allocations: 223.7 kB / 0.5717 GB, free: 6.195 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1637, allocations: 0 / 0.5717 GB, free: 6.195 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.164, allocations: 119.9 kB / 0.5718 GB, free: 6.078 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005858/0.1646, allocations: 85.78 kB / 0.5719 GB, free: 5.996 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.166, allocations: 0.9829 MB / 0.5728 GB, free: 4.973 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/0.1666, allocations: 0.8575 MB / 0.5737 GB, free: 4.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.1667, allocations: 47.41 kB / 0.5737 GB, free: 4.043 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1667, allocations: 0 / 0.5737 GB, free: 4.043 MB / 430.1 MB Notification: Performance of Templates: time 0.009279/0.176, allocations: 6.089 MB / 0.5797 GB, free: 13.96 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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: 7.8994714569998905]