Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.001522/0.001522, allocations: 115.1 kB / 18.45 MB, free: 4.566 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.001517/0.001517, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.549/1.549, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.2497/0.2497, allocations: 46.92 MB / 357.8 MB, free: 10.34 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.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 63.89 kB / 0.4922 GB, free: 7.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.129, allocations: 66 MB / 0.5566 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003685/0.1327, allocations: 1.729 MB / 0.5583 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.1347, allocations: 1.038 MB / 0.5593 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.1348, allocations: 4 kB / 0.5593 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003427/0.1352, allocations: 43.78 kB / 0.5594 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.1356, allocations: 103.6 kB / 0.5595 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.1358, allocations: 75.67 kB / 0.5595 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.1361, allocations: 107.6 kB / 0.5596 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1362, allocations: 8 kB / 0.5596 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.1363, allocations: 55.77 kB / 0.5597 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.375e-05/0.1364, allocations: 27.86 kB / 0.5597 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.1364, allocations: 4 kB / 0.5597 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.1366, allocations: 43.98 kB / 0.5598 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.716e-05/0.1366, allocations: 35.83 kB / 0.5598 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.352e-05/0.1367, allocations: 35.69 kB / 0.5598 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.137, allocations: 123.4 kB / 0.56 GB, free: 1.812 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.137, allocations: 0 / 0.56 GB, free: 1.812 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.869e-06/0.137, allocations: 3.984 kB / 0.56 GB, free: 1.809 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.137, allocations: 0 / 0.56 GB, free: 1.809 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006423/0.1376, allocations: 442.5 kB / 0.5604 GB, free: 1.328 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1377, allocations: 8.031 kB / 0.5604 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.1377, allocations: 12.89 kB / 0.5604 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.1381, allocations: 224.8 kB / 0.5606 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1381, allocations: 8.312 kB / 0.5606 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.1381, allocations: 4.125 kB / 0.5606 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.1382, allocations: 57.67 kB / 0.5607 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1383, allocations: 0 / 0.5607 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1383, allocations: 4 kB / 0.5607 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1383, allocations: 4 kB / 0.5607 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.558e-05/0.1383, allocations: 15.98 kB / 0.5607 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.1388, allocations: 296.8 kB / 0.561 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.1389, allocations: 54.62 kB / 0.561 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.139, allocations: 24.84 kB / 0.5611 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.139, allocations: 0 / 0.5611 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.1392, allocations: 63.39 kB / 0.5611 GB, free: 456 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1392, allocations: 0 / 0.5611 GB, free: 456 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000565/0.1397, allocations: 185.3 kB / 0.5613 GB, free: 264 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.1398, allocations: 51.41 kB / 0.5613 GB, free: 200 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.14, allocations: 242 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.1401, allocations: 29.7 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.1402, allocations: 112.1 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.1402, allocations: 19.84 kB / 0.5617 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.1402, allocations: 25.72 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1404, allocations: 330.7 kB / 0.5621 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.697e-05/0.1405, allocations: 27.92 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/0.1405, allocations: 33.7 kB / 0.5621 GB, free: 15.35 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.1407, allocations: 61.78 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1407, allocations: 3.984 kB / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002173/0.1409, allocations: 109.5 kB / 0.5623 GB, free: 15.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1409, allocations: 4 kB / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1409, allocations: 0 / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1409, allocations: 0 / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.017e-05/0.141, allocations: 19.98 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.141, allocations: 4.031 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.1411, allocations: 3.938 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1411, allocations: 11.94 kB / 0.5623 GB, free: 15.12 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001177/0.1412, allocations: 132 kB / 0.5625 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.1412, allocations: 15.91 kB / 0.5625 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.1413, allocations: 21.39 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.1413, allocations: 4 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1413, allocations: 384 / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1413, allocations: 3.938 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.1418, allocations: 399.3 kB / 0.5629 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1418, allocations: 4 kB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.1418, allocations: 8 kB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1418, allocations: 0 / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.1419, allocations: 3.938 kB / 0.5629 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1419, allocations: 0 / 0.5629 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1419, allocations: 4 kB / 0.5629 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.1421, allocations: 212.2 kB / 0.5631 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.1422, allocations: 96.98 kB / 0.5632 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.1422, allocations: 3.938 kB / 0.5632 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.597e-05/0.1423, allocations: 8 kB / 0.5632 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.1423, allocations: 7.984 kB / 0.5632 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1424, allocations: 0 / 0.5632 GB, free: 14.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.1425, allocations: 176.4 kB / 0.5634 GB, free: 13.94 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1425, allocations: 4 kB / 0.5634 GB, free: 13.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1428, allocations: 27.92 kB / 0.5634 GB, free: 13.91 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001724/0.1445, allocations: 462.6 kB / 0.5639 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.1447, allocations: 63.89 kB / 0.5639 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1447, allocations: 0 / 0.5639 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.92e-05/0.1448, allocations: 27.94 kB / 0.564 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.1452, allocations: 31.89 kB / 0.564 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005657/0.1457, allocations: 300.8 kB / 0.5643 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.1461, allocations: 0.712 MB / 0.565 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.1462, allocations: 19.42 kB / 0.565 GB, free: 12.43 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1462, allocations: 0 / 0.565 GB, free: 12.43 MB / 430.1 MB Notification: Performance of Templates: time 0.004446/0.1506, allocations: 2.034 MB / 0.567 GB, free: 10.4 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.148937328980537]