Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001281/0.001281, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001391/0.001391, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.542/1.542, 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.2206/0.2206, allocations: 46.91 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 67.91 kB / 0.491 GB, free: 7.852 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1444, allocations: 65.99 MB / 0.5555 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003671/0.1481, allocations: 1.758 MB / 0.5572 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1501, allocations: 1.037 MB / 0.5582 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.1502, allocations: 3.938 kB / 0.5582 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004023/0.1506, allocations: 95.67 kB / 0.5583 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004283/0.1511, allocations: 115.6 kB / 0.5584 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.1513, allocations: 79.67 kB / 0.5585 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.1516, allocations: 127.6 kB / 0.5586 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1517, allocations: 15.98 kB / 0.5586 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.1518, allocations: 59.75 kB / 0.5587 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.152, allocations: 75.73 kB / 0.5587 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.152, allocations: 8 kB / 0.5588 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.1521, allocations: 51.98 kB / 0.5588 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.516e-05/0.1522, allocations: 31.91 kB / 0.5588 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.764e-05/0.1523, allocations: 47.61 kB / 0.5589 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.1526, allocations: 135.4 kB / 0.559 GB, free: 2.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1526, allocations: 0 / 0.559 GB, free: 2.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1526, allocations: 0 / 0.559 GB, free: 2.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1526, allocations: 0 / 0.559 GB, free: 2.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007495/0.1533, allocations: 450.4 kB / 0.5594 GB, free: 1.602 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1534, allocations: 12.03 kB / 0.5595 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.975e-05/0.1534, allocations: 38.75 kB / 0.5595 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.1535, allocations: 12.84 kB / 0.5595 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.1539, allocations: 224.8 kB / 0.5597 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.1539, allocations: 4.375 kB / 0.5597 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.1539, allocations: 7.938 kB / 0.5597 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.1541, allocations: 61.66 kB / 0.5598 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.1541, allocations: 3.984 kB / 0.5598 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1541, allocations: 0 / 0.5598 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1541, allocations: 0 / 0.5598 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.1543, allocations: 23.98 kB / 0.5598 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.1548, allocations: 312.7 kB / 0.5601 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.1551, allocations: 58.55 kB / 0.5602 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.766e-05/0.1552, allocations: 20.97 kB / 0.5602 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.1552, allocations: 0 / 0.5602 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.1554, allocations: 71.39 kB / 0.5603 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1554, allocations: 0 / 0.5603 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008876/0.1563, allocations: 253.2 kB / 0.5605 GB, free: 392 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/0.1563, allocations: 63.28 kB / 0.5606 GB, free: 316 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.1566, allocations: 238 kB / 0.5608 GB, free: 68 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.1566, allocations: 25.7 kB / 0.5608 GB, free: 36 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.1568, allocations: 120.1 kB / 0.5609 GB, free: 15.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.1568, allocations: 31.73 kB / 0.561 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.1569, allocations: 25.72 kB / 0.561 GB, free: 15.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1571, allocations: 330.8 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.952e-05/0.1571, allocations: 24 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.544e-05/0.1572, allocations: 49.69 kB / 0.5614 GB, free: 15.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.1574, allocations: 81.66 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1574, allocations: 4 kB / 0.5614 GB, free: 15.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000275/0.1577, allocations: 125.5 kB / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1577, allocations: 4 kB / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1577, allocations: 0 / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1577, allocations: 4 kB / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.117e-05/0.1578, allocations: 27.86 kB / 0.5616 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1578, allocations: 0 / 0.5616 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.941e-05/0.1579, allocations: 12.03 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.1579, allocations: 4 kB / 0.5616 GB, free: 15.17 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 (13): * Single equations (assignments): 13 * 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.000132/0.158, allocations: 132 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.1581, allocations: 15.91 kB / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.255e-05/0.1581, allocations: 25.39 kB / 0.5618 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1581, allocations: 3.938 kB / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1581, allocations: 0 / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1581, allocations: 0 / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007146/0.1589, allocations: 460 kB / 0.5622 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1589, allocations: 0 / 0.5622 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.798e-05/0.1589, allocations: 23.92 kB / 0.5622 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1589, allocations: 0 / 0.5622 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1589, allocations: 4 kB / 0.5622 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.1589, allocations: 0 / 0.5622 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1589, allocations: 4 kB / 0.5623 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.1593, allocations: 233.1 kB / 0.5625 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.1593, allocations: 93.09 kB / 0.5626 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.1594, allocations: 7.938 kB / 0.5626 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.33e-05/0.1594, allocations: 4 kB / 0.5626 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.1595, allocations: 11.92 kB / 0.5626 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.1595, allocations: 8 kB / 0.5626 GB, free: 14.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001832/0.1597, allocations: 180.4 kB / 0.5628 GB, free: 13.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1597, allocations: 0 / 0.5628 GB, free: 13.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.16, allocations: 27.94 kB / 0.5628 GB, free: 13.85 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002647/0.1626, allocations: 1.178 MB / 0.5639 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.1629, allocations: 79.84 kB / 0.564 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1629, allocations: 0 / 0.564 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.219e-05/0.163, allocations: 35.92 kB / 0.5641 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.1634, allocations: 39.7 kB / 0.5641 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.1662, allocations: 1.851 MB / 0.5659 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.1667, allocations: 0.7158 MB / 0.5666 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.608e-05/0.1667, allocations: 20.64 kB / 0.5666 GB, free: 9.992 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.1668, allocations: 43.42 kB / 0.5667 GB, free: 9.949 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1668, allocations: 0 / 0.5667 GB, free: 9.949 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.196, allocations: 3.983 MB / 0.5705 GB, free: 6.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/8.329, allocations: 7.938 kB / 0.5706 GB, free: 6.012 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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: 11.443694662069902]