Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001678/0.001678, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.002056/0.002056, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.516/1.516, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.241/0.241, allocations: 46.93 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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 63.91 kB / 0.4921 GB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.122, allocations: 66 MB / 0.5565 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003568/0.1255, allocations: 1.615 MB / 0.5581 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1267, allocations: 0.565 MB / 0.5587 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.892e-05/0.1268, allocations: 4 kB / 0.5587 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006465/0.1274, allocations: 455.1 kB / 0.5591 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005341/0.128, allocations: 291.3 kB / 0.5594 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.1284, allocations: 174.7 kB / 0.5595 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002914/0.1287, allocations: 171.6 kB / 0.5597 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1288, allocations: 4 kB / 0.5597 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.129, allocations: 111.8 kB / 0.5598 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003073/0.1293, allocations: 247.5 kB / 0.5601 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1293, allocations: 4 kB / 0.5601 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.155e-05/0.1294, allocations: 27.94 kB / 0.5601 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.1295, allocations: 87.62 kB / 0.5602 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.571e-05/0.1296, allocations: 99.05 kB / 0.5603 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.13, allocations: 258.6 kB / 0.5605 GB, free: 1.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.13, allocations: 0 / 0.5605 GB, free: 1.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.13, allocations: 0 / 0.5605 GB, free: 1.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.13, allocations: 0 / 0.5605 GB, free: 1.25 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008423/0.1309, allocations: 0.6452 MB / 0.5611 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1309, allocations: 8.031 kB / 0.5611 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.301e-05/0.131, allocations: 40.66 kB / 0.5612 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.1313, allocations: 308.5 kB / 0.5615 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.1313, allocations: 384 / 0.5615 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.1313, allocations: 4.375 kB / 0.5615 GB, free: 164 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.1315, allocations: 57.8 kB / 0.5615 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.1315, allocations: 0 / 0.5615 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.1315, allocations: 0 / 0.5615 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1315, allocations: 0 / 0.5615 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1316, allocations: 27.98 kB / 0.5616 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.1322, allocations: 392.6 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.1323, allocations: 26.56 kB / 0.562 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.694e-05/0.1324, allocations: 20.91 kB / 0.562 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.1324, allocations: 0 / 0.562 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1324, allocations: 34.56 kB / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.1324, allocations: 0 / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003067/0.1327, allocations: 109.3 kB / 0.5621 GB, free: 15.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.1328, allocations: 51.41 kB / 0.5622 GB, free: 15.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009225/0.1337, allocations: 0.866 MB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1337, allocations: 25.7 kB / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.1339, allocations: 232.1 kB / 0.5633 GB, free: 14.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.1339, allocations: 7.953 kB / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.1339, allocations: 13.72 kB / 0.5633 GB, free: 14.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.1341, allocations: 362.7 kB / 0.5636 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.1342, allocations: 7.984 kB / 0.5636 GB, free: 13.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.682e-05/0.1342, allocations: 15.98 kB / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.004e-05/0.1343, allocations: 24.84 kB / 0.5637 GB, free: 13.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1343, allocations: 8.062 kB / 0.5637 GB, free: 13.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001861/0.1345, allocations: 97.34 kB / 0.5638 GB, free: 13.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1345, allocations: 4 kB / 0.5638 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1345, allocations: 0 / 0.5638 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1345, allocations: 0 / 0.5638 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/0.1346, allocations: 15.92 kB / 0.5638 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1346, allocations: 0 / 0.5638 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.1346, allocations: 3.953 kB / 0.5638 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1347, allocations: 0 / 0.5638 GB, free: 13.64 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 (2): * Single equations (assignments): 2 * 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.0002016/0.1349, allocations: 227.9 kB / 0.564 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.1349, allocations: 39.72 kB / 0.5641 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.1352, allocations: 108.7 kB / 0.5642 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1352, allocations: 0 / 0.5642 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.1352, allocations: 3.984 kB / 0.5642 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1352, allocations: 4 kB / 0.5642 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.1355, allocations: 285.5 kB / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1355, allocations: 0 / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.167e-05/0.1355, allocations: 8.031 kB / 0.5644 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1355, allocations: 4 kB / 0.5644 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1355, allocations: 0 / 0.5644 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1355, allocations: 0 / 0.5644 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1355, allocations: 0 / 0.5644 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1358, allocations: 199.2 kB / 0.5646 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-05/0.1359, allocations: 108.8 kB / 0.5647 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.1359, allocations: 4.031 kB / 0.5647 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.018e-05/0.136, allocations: 7.984 kB / 0.5648 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.136, allocations: 0 / 0.5648 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.136, allocations: 0 / 0.5648 GB, free: 12.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006852/0.1367, allocations: 0.6589 MB / 0.5654 GB, free: 11.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1367, allocations: 3.938 kB / 0.5654 GB, free: 11.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.1369, allocations: 23.92 kB / 0.5654 GB, free: 11.88 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.001334/0.1383, allocations: 358.7 kB / 0.5658 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.1384, allocations: 27.97 kB / 0.5658 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1384, allocations: 0 / 0.5658 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.824e-05/0.1385, allocations: 16.06 kB / 0.5658 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.1389, allocations: 26.3 kB / 0.5658 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.1401, allocations: 0.8274 MB / 0.5666 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.1406, allocations: 0.8182 MB / 0.5674 GB, free: 9.883 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.1407, allocations: 11.44 kB / 0.5674 GB, free: 9.871 MB / 430.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1407, allocations: 0 / 0.5674 GB, free: 9.871 MB / 430.1 MB Notification: Performance of Templates: time 0.007392/0.1481, allocations: 3.525 MB / 0.5709 GB, free: 6.34 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.742403039010242]