Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001496/0.001496, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.001809/0.001809, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.572/1.572, 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.258/0.258, allocations: 46.92 MB / 357.8 MB, free: 10.39 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 67.91 kB / 0.4922 GB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1239, allocations: 66 MB / 0.5566 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003495/0.1274, allocations: 1.733 MB / 0.5583 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.1293, allocations: 1.034 MB / 0.5593 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1295, allocations: 7.938 kB / 0.5593 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.1298, allocations: 75.7 kB / 0.5594 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.1301, allocations: 115.6 kB / 0.5595 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.1303, allocations: 83.66 kB / 0.5596 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.1306, allocations: 107.7 kB / 0.5597 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1307, allocations: 19.97 kB / 0.5597 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.1308, allocations: 59.72 kB / 0.5598 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1309, allocations: 63.8 kB / 0.5598 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.1309, allocations: 4 kB / 0.5598 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.131, allocations: 47.92 kB / 0.5599 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.1311, allocations: 27.84 kB / 0.5599 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.1311, allocations: 35.75 kB / 0.5599 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.1314, allocations: 127.4 kB / 0.56 GB, free: 1.758 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1314, allocations: 0 / 0.56 GB, free: 1.758 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1314, allocations: 4 kB / 0.56 GB, free: 1.754 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1314, allocations: 0 / 0.56 GB, free: 1.754 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.000612/0.132, allocations: 426.6 kB / 0.5605 GB, free: 1.289 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.132, allocations: 12.03 kB / 0.5605 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.1321, allocations: 12.84 kB / 0.5605 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.1324, allocations: 220.1 kB / 0.5607 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.1324, allocations: 4.375 kB / 0.5607 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1324, allocations: 4.125 kB / 0.5607 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1326, allocations: 65.61 kB / 0.5608 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1326, allocations: 0 / 0.5608 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1326, allocations: 3.984 kB / 0.5608 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1326, allocations: 0 / 0.5608 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.297e-05/0.1327, allocations: 19.98 kB / 0.5608 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.1331, allocations: 296.8 kB / 0.5611 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.1333, allocations: 54.62 kB / 0.5611 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.805e-05/0.1334, allocations: 20.84 kB / 0.5611 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.1334, allocations: 0 / 0.5611 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.1335, allocations: 75.33 kB / 0.5612 GB, free: 408 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.1335, allocations: 0 / 0.5612 GB, free: 408 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006459/0.1342, allocations: 185.3 kB / 0.5614 GB, free: 216 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.1342, allocations: 55.41 kB / 0.5614 GB, free: 148 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.1345, allocations: 227.4 kB / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1345, allocations: 25.7 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.1346, allocations: 108.1 kB / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.1346, allocations: 23.8 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.1347, allocations: 25.7 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1348, allocations: 326.8 kB / 0.5621 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.045e-05/0.1349, allocations: 20 kB / 0.5622 GB, free: 15.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.949e-05/0.135, allocations: 41.64 kB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.1351, allocations: 57.7 kB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1351, allocations: 0 / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002064/0.1353, allocations: 105.7 kB / 0.5624 GB, free: 15.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1353, allocations: 9.719 kB / 0.5624 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1353, allocations: 3.938 kB / 0.5624 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1353, allocations: 4.031 kB / 0.5624 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.675e-05/0.1354, allocations: 16 kB / 0.5624 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1354, allocations: 0 / 0.5624 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.095e-05/0.1355, allocations: 7.922 kB / 0.5624 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1355, allocations: 4 kB / 0.5624 GB, free: 15.1 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.0001172/0.1356, allocations: 132 kB / 0.5625 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.1357, allocations: 15.89 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.1357, allocations: 17.41 kB / 0.5626 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1357, allocations: 0 / 0.5626 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1357, allocations: 4 kB / 0.5626 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1357, allocations: 3.938 kB / 0.5626 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005239/0.1362, allocations: 403.3 kB / 0.563 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1362, allocations: 0 / 0.563 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.1363, allocations: 8 kB / 0.563 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1363, allocations: 0 / 0.563 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.1363, allocations: 7.922 kB / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1363, allocations: 4 kB / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1363, allocations: 416 / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.1366, allocations: 220.4 kB / 0.5632 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.79e-05/0.1366, allocations: 85.06 kB / 0.5633 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.1367, allocations: 7.938 kB / 0.5633 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.1367, allocations: 4 kB / 0.5633 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.1368, allocations: 11.98 kB / 0.5633 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.1368, allocations: 8 kB / 0.5633 GB, free: 14.08 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.137, allocations: 165.2 kB / 0.5634 GB, free: 13.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.137, allocations: 4 kB / 0.5635 GB, free: 13.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.1372, allocations: 23.94 kB / 0.5635 GB, free: 13.89 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.00183/0.1391, allocations: 460.1 kB / 0.5639 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.1393, allocations: 55.91 kB / 0.564 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1393, allocations: 0 / 0.564 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.015e-05/0.1394, allocations: 27.98 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.0003723/0.1397, allocations: 32.55 kB / 0.564 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000604/0.1403, allocations: 281 kB / 0.5643 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.1407, allocations: 0.7197 MB / 0.565 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.1408, allocations: 15.44 kB / 0.565 GB, free: 12.44 MB / 430.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1408, allocations: 0 / 0.565 GB, free: 12.44 MB / 430.1 MB Notification: Performance of Templates: time 0.00435/0.1451, allocations: 2.009 MB / 0.567 GB, free: 10.43 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.080039183987537]