Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.001723/0.001723, allocations: 114.3 kB / 18.49 MB, free: 4.539 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.002285/0.002285, allocations: 219 kB / 21.46 MB, free: 1.586 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.598/1.598, 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.2336/0.2336, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.Test83,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 75.89 kB / 0.4917 GB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1424, allocations: 65.99 MB / 0.5561 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003433/0.1459, allocations: 1.972 MB / 0.5581 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.148, allocations: 1.202 MB / 0.5592 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.741e-05/0.1481, allocations: 7.938 kB / 0.5592 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006869/0.1487, allocations: 203.4 kB / 0.5594 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004771/0.1492, allocations: 207.2 kB / 0.5596 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.1496, allocations: 159.4 kB / 0.5598 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.15, allocations: 267.2 kB / 0.56 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1501, allocations: 20.3 kB / 0.5601 GB, free: 1.738 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.1502, allocations: 123.5 kB / 0.5602 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.1504, allocations: 119.5 kB / 0.5603 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.1504, allocations: 12 kB / 0.5603 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.1506, allocations: 59.91 kB / 0.5604 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.304e-05/0.1507, allocations: 55.83 kB / 0.5604 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.1508, allocations: 87.41 kB / 0.5605 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.1511, allocations: 246.9 kB / 0.5607 GB, free: 1.047 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1511, allocations: 0 / 0.5607 GB, free: 1.047 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1511, allocations: 0 / 0.5607 GB, free: 1.047 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.1511, allocations: 0 / 0.5607 GB, free: 1.047 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001015/0.1522, allocations: 0.5698 MB / 0.5613 GB, free: 432 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1522, allocations: 8.031 kB / 0.5613 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.601e-05/0.1522, allocations: 4.188 kB / 0.5613 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/0.1523, allocations: 34.73 kB / 0.5613 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.1e-05/0.1523, allocations: 24.8 kB / 0.5614 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.1528, allocations: 291.8 kB / 0.5616 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.1528, allocations: 12.11 kB / 0.5616 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.1528, allocations: 8 kB / 0.5616 GB, free: 0 / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.1531, allocations: 100.2 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.1531, allocations: 0 / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.1531, allocations: 8 kB / 0.5618 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1531, allocations: 0 / 0.5618 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.1533, allocations: 39.91 kB / 0.5618 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006183/0.1539, allocations: 389.4 kB / 0.5622 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/0.1543, allocations: 117.2 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.1544, allocations: 45.7 kB / 0.5623 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.1544, allocations: 0 / 0.5623 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002526/0.1547, allocations: 109 kB / 0.5624 GB, free: 15.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.644e-06/0.1547, allocations: 0 / 0.5624 GB, free: 15.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005554/0.1552, allocations: 185.4 kB / 0.5626 GB, free: 14.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.134e-05/0.1553, allocations: 106.8 kB / 0.5627 GB, free: 14.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.1558, allocations: 363.2 kB / 0.563 GB, free: 14.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.1558, allocations: 25.7 kB / 0.5631 GB, free: 14.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.1559, allocations: 140.1 kB / 0.5632 GB, free: 14.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.61e-05/0.156, allocations: 31.75 kB / 0.5632 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.156, allocations: 33.7 kB / 0.5633 GB, free: 14.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1562, allocations: 338.8 kB / 0.5636 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.421e-05/0.1563, allocations: 32.48 kB / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.1564, allocations: 77.12 kB / 0.5637 GB, free: 13.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.1566, allocations: 99.39 kB / 0.5638 GB, free: 13.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1566, allocations: 0 / 0.5638 GB, free: 13.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003069/0.1569, allocations: 153.4 kB / 0.5639 GB, free: 13.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.157, allocations: 4 kB / 0.5639 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.157, allocations: 0 / 0.5639 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.157, allocations: 7.938 kB / 0.5639 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.1571, allocations: 19.98 kB / 0.564 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.1571, allocations: 4 kB / 0.564 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.042e-05/0.1572, allocations: 19.89 kB / 0.564 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.1572, allocations: 8 kB / 0.564 GB, free: 13.38 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001533/0.1574, allocations: 161 kB / 0.5641 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.1574, allocations: 27.81 kB / 0.5642 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.83e-05/0.1575, allocations: 25.83 kB / 0.5642 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.1575, allocations: 4 kB / 0.5642 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1575, allocations: 0 / 0.5642 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1575, allocations: 3.938 kB / 0.5642 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.1577, allocations: 253.6 kB / 0.5644 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.1578, allocations: 12.11 kB / 0.5645 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.1578, allocations: 8 kB / 0.5645 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1578, allocations: 0 / 0.5645 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1578, allocations: 4 kB / 0.5645 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.1578, allocations: 7.984 kB / 0.5645 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1578, allocations: 0 / 0.5645 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.1582, allocations: 185.6 kB / 0.5647 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.448e-05/0.1582, allocations: 101 kB / 0.5648 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.1583, allocations: 7.984 kB / 0.5648 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.1583, allocations: 4 kB / 0.5648 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.1584, allocations: 23.86 kB / 0.5648 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.1584, allocations: 4 kB / 0.5648 GB, free: 12.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003167/0.1588, allocations: 261.9 kB / 0.565 GB, free: 12.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1588, allocations: 0 / 0.565 GB, free: 12.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.159, allocations: 35.94 kB / 0.5651 GB, free: 12.18 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.002254/0.1613, allocations: 1.033 MB / 0.5661 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.1616, allocations: 79.91 kB / 0.5662 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.1616, allocations: 4.125 kB / 0.5662 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.1617, allocations: 47.91 kB / 0.5662 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.1622, allocations: 77.34 kB / 0.5663 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003152/0.1653, allocations: 2.344 MB / 0.5686 GB, free: 8.617 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.1657, allocations: 0.7445 MB / 0.5693 GB, free: 7.848 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.1658, allocations: 37.94 kB / 0.5693 GB, free: 7.812 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.166, allocations: 71.41 kB / 0.5694 GB, free: 7.746 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.166, allocations: 7.938 kB / 0.5694 GB, free: 7.738 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.1911, allocations: 5.859 MB / 0.5751 GB, free: 1.969 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.53/8.721, allocations: 12.06 kB / 0.5751 GB, free: 1.957 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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: 12.124427130038384]