Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001458/0.001458, 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.001729/0.001729, 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.623/1.623, allocations: 230.6 MB / 254.8 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.2233/0.2233, allocations: 46.91 MB / 357.8 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 71.88 kB / 0.4921 GB, free: 7.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.149, allocations: 66.01 MB / 0.5566 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003445/0.1524, allocations: 1.825 MB / 0.5584 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.1545, allocations: 1.115 MB / 0.5595 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.669e-05/0.1545, allocations: 0 / 0.5595 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005578/0.1551, allocations: 303.2 kB / 0.5598 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000498/0.1556, allocations: 247.2 kB / 0.56 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.1559, allocations: 107.6 kB / 0.5601 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.1562, allocations: 263.2 kB / 0.5603 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.733e-05/0.1563, allocations: 17.67 kB / 0.5604 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.1565, allocations: 127.5 kB / 0.5605 GB, free: 1.254 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000316/0.1568, allocations: 212 kB / 0.5607 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.1568, allocations: 8 kB / 0.5607 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.157, allocations: 47.92 kB / 0.5607 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.1572, allocations: 140.5 kB / 0.5609 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.1573, allocations: 146.8 kB / 0.561 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.1578, allocations: 374.2 kB / 0.5614 GB, free: 352 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1578, allocations: 0 / 0.5614 GB, free: 352 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.686e-06/0.1578, allocations: 0 / 0.5614 GB, free: 352 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.1578, allocations: 0 / 0.5614 GB, free: 352 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001135/0.159, allocations: 0.7539 MB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.159, allocations: 8.031 kB / 0.5621 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.678e-05/0.1591, allocations: 48.61 kB / 0.5622 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007143/0.1598, allocations: 460.3 kB / 0.5626 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1598, allocations: 384 / 0.5626 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.1599, allocations: 12.12 kB / 0.5626 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.1601, allocations: 87.28 kB / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1601, allocations: 0 / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.1601, allocations: 4 kB / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1601, allocations: 4 kB / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.1603, allocations: 27.98 kB / 0.5627 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.1607, allocations: 378.3 kB / 0.5631 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.161, allocations: 105.2 kB / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.1611, allocations: 41.64 kB / 0.5632 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.1611, allocations: 0 / 0.5632 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.1614, allocations: 109 kB / 0.5633 GB, free: 14.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.1614, allocations: 0 / 0.5633 GB, free: 14.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005406/0.1619, allocations: 209.2 kB / 0.5635 GB, free: 13.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.162, allocations: 77.11 kB / 0.5636 GB, free: 13.83 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.1632, allocations: 1.019 MB / 0.5646 GB, free: 12.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.1632, allocations: 33.7 kB / 0.5646 GB, free: 12.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.1634, allocations: 232.1 kB / 0.5649 GB, free: 12.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.1635, allocations: 27.78 kB / 0.5649 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.1635, allocations: 29.72 kB / 0.5649 GB, free: 12.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.1637, allocations: 370.8 kB / 0.5653 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.231e-05/0.1638, allocations: 27.98 kB / 0.5653 GB, free: 12.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1639, allocations: 63.3 kB / 0.5653 GB, free: 11.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.1641, allocations: 87.41 kB / 0.5654 GB, free: 11.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1641, allocations: 4 kB / 0.5654 GB, free: 11.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000331/0.1644, allocations: 173.7 kB / 0.5656 GB, free: 11.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1645, allocations: 4 kB / 0.5656 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1645, allocations: 4 kB / 0.5656 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1645, allocations: 0 / 0.5656 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.1646, allocations: 24.05 kB / 0.5656 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1647, allocations: 4 kB / 0.5656 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.1648, allocations: 19.88 kB / 0.5657 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1648, allocations: 8.062 kB / 0.5657 GB, free: 11.65 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002347/0.165, allocations: 227.8 kB / 0.5659 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.1651, allocations: 51.66 kB / 0.5659 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.899e-05/0.1652, allocations: 60.09 kB / 0.566 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1652, allocations: 3.984 kB / 0.566 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.1652, allocations: 0 / 0.566 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1652, allocations: 4 kB / 0.566 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/0.1655, allocations: 341.4 kB / 0.5663 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1655, allocations: 0 / 0.5663 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.619e-05/0.1656, allocations: 12 kB / 0.5663 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1656, allocations: 0 / 0.5663 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1656, allocations: 7.938 kB / 0.5663 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1656, allocations: 0 / 0.5663 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.1656, allocations: 7.922 kB / 0.5663 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.1659, allocations: 205.5 kB / 0.5665 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.1661, allocations: 136.8 kB / 0.5667 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.1661, allocations: 8 kB / 0.5667 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.455e-05/0.1662, allocations: 15.92 kB / 0.5667 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.1663, allocations: 4 kB / 0.5667 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.554e-05/0.1663, allocations: 7.984 kB / 0.5667 GB, free: 10.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000964/0.1673, allocations: 0.7604 MB / 0.5674 GB, free: 9.723 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1673, allocations: 0 / 0.5674 GB, free: 9.723 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.1676, allocations: 43.94 kB / 0.5675 GB, free: 9.68 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001649/0.1692, allocations: 419.7 kB / 0.5679 GB, free: 9.418 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002696/0.1695, allocations: 75.89 kB / 0.568 GB, free: 9.344 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1695, allocations: 0 / 0.568 GB, free: 9.344 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.1696, allocations: 39.91 kB / 0.568 GB, free: 9.305 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.1701, allocations: 72.86 kB / 0.5681 GB, free: 9.238 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.1716, allocations: 0.9067 MB / 0.569 GB, free: 8.297 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.1722, allocations: 0.8427 MB / 0.5698 GB, free: 7.426 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/0.1723, allocations: 31.44 kB / 0.5698 GB, free: 7.398 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1723, allocations: 0 / 0.5698 GB, free: 7.398 MB / 430.1 MB Notification: Performance of Templates: time 0.009374/0.1816, allocations: 5.095 MB / 0.5748 GB, free: 2.305 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.282722250994993]