Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001921/0.001921, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002117/0.002117, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.565/1.565, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2756/0.2756, allocations: 46.92 MB / 357.1 MB, free: 10.29 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 63.89 kB / 0.4915 GB, free: 7.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1404, allocations: 66.01 MB / 0.5559 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.00354/0.1439, allocations: 1.933 MB / 0.5578 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.1459, allocations: 1.074 MB / 0.5589 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.146, allocations: 7.938 kB / 0.5589 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003604/0.1463, allocations: 43.7 kB / 0.5589 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.1467, allocations: 99.48 kB / 0.559 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.147, allocations: 99.64 kB / 0.5591 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.1473, allocations: 143.5 kB / 0.5592 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.1474, allocations: 21.55 kB / 0.5593 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.1475, allocations: 59.72 kB / 0.5593 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.1477, allocations: 59.62 kB / 0.5594 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.1477, allocations: 8 kB / 0.5594 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1478, allocations: 47.98 kB / 0.5594 GB, free: 1.629 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.343e-05/0.1479, allocations: 27.86 kB / 0.5595 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.645e-05/0.148, allocations: 51.67 kB / 0.5595 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.1483, allocations: 155.3 kB / 0.5597 GB, free: 1.398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1483, allocations: 0 / 0.5597 GB, free: 1.398 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1483, allocations: 0 / 0.5597 GB, free: 1.398 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1483, allocations: 0 / 0.5597 GB, free: 1.398 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008363/0.1491, allocations: 488.1 kB / 0.5601 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.1492, allocations: 12.03 kB / 0.5601 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.1493, allocations: 16.84 kB / 0.5601 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.1496, allocations: 240.8 kB / 0.5604 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.1496, allocations: 8.375 kB / 0.5604 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.1497, allocations: 8.125 kB / 0.5604 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.1499, allocations: 108.2 kB / 0.5605 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1499, allocations: 3.938 kB / 0.5605 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.15, allocations: 3.938 kB / 0.5605 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.15, allocations: 4 kB / 0.5605 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.1501, allocations: 51.91 kB / 0.5606 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007039/0.1508, allocations: 0.5088 MB / 0.5611 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.1512, allocations: 78.67 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.1513, allocations: 40.83 kB / 0.5612 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1513, allocations: 0 / 0.5612 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.1515, allocations: 87.31 kB / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.1515, allocations: 4 kB / 0.5613 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.000425/0.152, allocations: 141.5 kB / 0.5614 GB, free: 15.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.152, allocations: 55.34 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.1522, allocations: 202.2 kB / 0.5616 GB, free: 15.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.1523, allocations: 33.7 kB / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.586e-05/0.1523, allocations: 112 kB / 0.5618 GB, free: 15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.1524, allocations: 27.75 kB / 0.5618 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.1524, allocations: 37.7 kB / 0.5618 GB, free: 14.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1526, allocations: 326.8 kB / 0.5621 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.604e-05/0.1527, allocations: 27.98 kB / 0.5622 GB, free: 14.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1528, allocations: 64.39 kB / 0.5622 GB, free: 14.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.153, allocations: 108.5 kB / 0.5623 GB, free: 14.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.153, allocations: 0 / 0.5623 GB, free: 14.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003073/0.1533, allocations: 137.4 kB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1533, allocations: 8.125 kB / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1534, allocations: 4 kB / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1534, allocations: 4 kB / 0.5625 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1535, allocations: 27.92 kB / 0.5625 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1535, allocations: 4 kB / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.053e-05/0.1536, allocations: 11.94 kB / 0.5625 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.1536, allocations: 4 kB / 0.5625 GB, free: 14.17 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001422/0.1537, allocations: 135.6 kB / 0.5627 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.1537, allocations: 15.91 kB / 0.5627 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.1538, allocations: 21.41 kB / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1538, allocations: 3.938 kB / 0.5627 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1538, allocations: 7.984 kB / 0.5627 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1538, allocations: 0 / 0.5627 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.1541, allocations: 213.5 kB / 0.5629 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1541, allocations: 0 / 0.5629 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.941e-05/0.1542, allocations: 8 kB / 0.5629 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.1542, allocations: 4 kB / 0.5629 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.1542, allocations: 3.984 kB / 0.5629 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1542, allocations: 3.938 kB / 0.5629 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1542, allocations: 4 kB / 0.5629 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.1546, allocations: 176.9 kB / 0.5631 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.1547, allocations: 92.98 kB / 0.5632 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.1547, allocations: 11.98 kB / 0.5632 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.463e-05/0.1548, allocations: 7.938 kB / 0.5632 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.1548, allocations: 3.984 kB / 0.5632 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.1548, allocations: 8.062 kB / 0.5632 GB, free: 13.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.155, allocations: 144.6 kB / 0.5634 GB, free: 13.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.155, allocations: 4 kB / 0.5634 GB, free: 13.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002344/0.1552, allocations: 27.88 kB / 0.5634 GB, free: 13.19 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001568/0.1568, allocations: 406.6 kB / 0.5638 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.1571, allocations: 72.08 kB / 0.5638 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1571, allocations: 11.94 kB / 0.5639 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.1572, allocations: 36.11 kB / 0.5639 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.1575, allocations: 38.53 kB / 0.5639 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005776/0.1581, allocations: 271.2 kB / 0.5642 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.1585, allocations: 0.7201 MB / 0.5649 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.443e-05/0.1586, allocations: 25.34 kB / 0.5649 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.1586, allocations: 19.42 kB / 0.5649 GB, free: 11.71 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1586, allocations: 0 / 0.5649 GB, free: 11.71 MB / 430.1 MB Notification: Performance of Templates: time 0.005799/0.1644, allocations: 1.907 MB / 0.5668 GB, free: 9.824 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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: 5.295048296451569]