Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001428/0.001428, 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.001524/0.001524, 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.601/1.601, allocations: 230.6 MB / 254.1 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.238/0.238, allocations: 46.93 MB / 357.1 MB, free: 10.31 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 63.91 kB / 0.4915 GB, free: 7.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1354, allocations: 66 MB / 0.5559 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003589/0.139, allocations: 1.937 MB / 0.5578 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.1411, allocations: 1.073 MB / 0.5589 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.1412, allocations: 7.938 kB / 0.5589 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003781/0.1416, allocations: 43.7 kB / 0.5589 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.142, allocations: 99.48 kB / 0.559 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.1423, allocations: 95.69 kB / 0.5591 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.1426, allocations: 151.5 kB / 0.5592 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.1427, allocations: 21.53 kB / 0.5593 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.1428, allocations: 59.72 kB / 0.5593 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.1429, allocations: 47.72 kB / 0.5594 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.143, allocations: 8 kB / 0.5594 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.1431, allocations: 51.97 kB / 0.5594 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.541e-05/0.1432, allocations: 31.73 kB / 0.5594 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.497e-05/0.1433, allocations: 55.67 kB / 0.5595 GB, free: 1.586 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.1436, allocations: 155.3 kB / 0.5596 GB, free: 1.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1436, allocations: 0 / 0.5596 GB, free: 1.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1436, allocations: 0 / 0.5596 GB, free: 1.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.1436, allocations: 0 / 0.5596 GB, free: 1.434 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.0008305/0.1444, allocations: 488.1 kB / 0.5601 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1445, allocations: 12.03 kB / 0.5601 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.1445, allocations: 16.83 kB / 0.5601 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.1449, allocations: 244.8 kB / 0.5604 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.1449, allocations: 4.375 kB / 0.5604 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.1449, allocations: 12.12 kB / 0.5604 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.1452, allocations: 104.2 kB / 0.5605 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1452, allocations: 7.938 kB / 0.5605 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.1452, allocations: 0 / 0.5605 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1452, allocations: 4 kB / 0.5605 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.1454, allocations: 51.91 kB / 0.5606 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/0.1461, allocations: 0.4971 MB / 0.561 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.1465, allocations: 90.58 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1466, allocations: 36.84 kB / 0.5612 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.1466, allocations: 0 / 0.5612 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.1468, allocations: 83.36 kB / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.1468, allocations: 4 kB / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004495/0.1473, allocations: 141.5 kB / 0.5614 GB, free: 15.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.1473, allocations: 55.34 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.1475, allocations: 202.2 kB / 0.5616 GB, free: 15.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.1476, allocations: 33.7 kB / 0.5617 GB, free: 15.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.092e-05/0.1477, allocations: 112 kB / 0.5618 GB, free: 15.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.1477, allocations: 36.11 kB / 0.5618 GB, free: 15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.1478, allocations: 33.7 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1479, allocations: 326.8 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.789e-05/0.148, allocations: 27.98 kB / 0.5622 GB, free: 14.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.1482, allocations: 72.33 kB / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.1484, allocations: 96.22 kB / 0.5623 GB, free: 14.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1484, allocations: 0 / 0.5623 GB, free: 14.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000311/0.1487, allocations: 141.4 kB / 0.5625 GB, free: 14.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1487, allocations: 8.125 kB / 0.5625 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1488, allocations: 4 kB / 0.5625 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1488, allocations: 3.984 kB / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1489, allocations: 31.88 kB / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.1489, allocations: 7.984 kB / 0.5625 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.336e-05/0.149, allocations: 11.94 kB / 0.5625 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.149, allocations: 4 kB / 0.5625 GB, free: 14.2 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.0001277/0.1491, allocations: 129.7 kB / 0.5627 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.1491, allocations: 19.89 kB / 0.5627 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.25e-05/0.1492, allocations: 21.41 kB / 0.5627 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1492, allocations: 3.938 kB / 0.5627 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1492, allocations: 0 / 0.5627 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1492, allocations: 4 kB / 0.5627 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.1494, allocations: 217.5 kB / 0.5629 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1494, allocations: 0 / 0.5629 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.1495, allocations: 8 kB / 0.5629 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1495, allocations: 0 / 0.5629 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1495, allocations: 4 kB / 0.5629 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.1495, allocations: 3.938 kB / 0.5629 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1495, allocations: 0 / 0.5629 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.15, allocations: 188.9 kB / 0.5631 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.401e-05/0.15, allocations: 89.05 kB / 0.5632 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.1501, allocations: 4 kB / 0.5632 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.1501, allocations: 11.92 kB / 0.5632 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.1502, allocations: 4 kB / 0.5632 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.1502, allocations: 16.05 kB / 0.5632 GB, free: 13.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.1504, allocations: 140.4 kB / 0.5634 GB, free: 13.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1504, allocations: 0 / 0.5634 GB, free: 13.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.1506, allocations: 27.94 kB / 0.5634 GB, free: 13.23 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.001533/0.1521, allocations: 416.5 kB / 0.5638 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.1524, allocations: 75.89 kB / 0.5639 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1524, allocations: 8.188 kB / 0.5639 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.1525, allocations: 31.92 kB / 0.5639 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.1529, allocations: 39.59 kB / 0.5639 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.1534, allocations: 271.2 kB / 0.5642 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.1538, allocations: 0.7123 MB / 0.5649 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.893e-05/0.1538, allocations: 17.42 kB / 0.5649 GB, free: 11.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.1539, allocations: 15.44 kB / 0.5649 GB, free: 11.77 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1539, allocations: 0 / 0.5649 GB, free: 11.77 MB / 430.1 MB Notification: Performance of Templates: time 0.005666/0.1596, allocations: 1.932 MB / 0.5668 GB, free: 9.852 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.2906349785625935]