Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001672/0.001672, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00225/0.00225, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 230.5 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2777/0.2777, allocations: 46.92 MB / 357 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 83.88 kB / 0.491 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1502, allocations: 66.05 MB / 0.5555 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003987/0.1542, allocations: 1.942 MB / 0.5574 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.1562, allocations: 1.063 MB / 0.5585 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1563, allocations: 7.938 kB / 0.5585 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.1566, allocations: 47.69 kB / 0.5585 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.157, allocations: 103.5 kB / 0.5586 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.1572, allocations: 99.62 kB / 0.5587 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.1574, allocations: 143.5 kB / 0.5589 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1576, allocations: 21.55 kB / 0.5589 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.1577, allocations: 63.7 kB / 0.5589 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.1578, allocations: 47.66 kB / 0.559 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.1578, allocations: 8 kB / 0.559 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.1579, allocations: 47.98 kB / 0.559 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.158, allocations: 27.84 kB / 0.5591 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.848e-05/0.158, allocations: 51.67 kB / 0.5591 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.1583, allocations: 163.2 kB / 0.5593 GB, free: 1.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1583, allocations: 0 / 0.5593 GB, free: 1.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1583, allocations: 0 / 0.5593 GB, free: 1.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.1583, allocations: 0 / 0.5593 GB, free: 1.645 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.0007265/0.1591, allocations: 488.1 kB / 0.5597 GB, free: 1.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1591, allocations: 12.03 kB / 0.5597 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.1591, allocations: 38.73 kB / 0.5598 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.1592, allocations: 16.84 kB / 0.5598 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.1596, allocations: 241.4 kB / 0.56 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1596, allocations: 384 / 0.56 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.1596, allocations: 12.38 kB / 0.56 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.1599, allocations: 108.3 kB / 0.5601 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1599, allocations: 0 / 0.5601 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1599, allocations: 8 kB / 0.5601 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1599, allocations: 7.938 kB / 0.5602 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.16, allocations: 47.91 kB / 0.5602 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000643/0.1607, allocations: 0.501 MB / 0.5607 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.161, allocations: 82.67 kB / 0.5608 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.84e-05/0.1611, allocations: 36.83 kB / 0.5608 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1612, allocations: 4 kB / 0.5608 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/0.1614, allocations: 83.31 kB / 0.5609 GB, free: 15.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.1614, allocations: 0 / 0.5609 GB, free: 15.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004228/0.1618, allocations: 149.5 kB / 0.561 GB, free: 15.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.1618, allocations: 51.41 kB / 0.5611 GB, free: 15.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.1621, allocations: 206.2 kB / 0.5613 GB, free: 15.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.1621, allocations: 25.7 kB / 0.5613 GB, free: 15.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.1622, allocations: 120 kB / 0.5614 GB, free: 15.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.1622, allocations: 35.72 kB / 0.5614 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.1623, allocations: 25.72 kB / 0.5615 GB, free: 15.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1624, allocations: 326.8 kB / 0.5618 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.65e-05/0.1625, allocations: 31.97 kB / 0.5618 GB, free: 14.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.1626, allocations: 69.66 kB / 0.5619 GB, free: 14.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.1628, allocations: 104.5 kB / 0.562 GB, free: 14.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1629, allocations: 0 / 0.562 GB, free: 14.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002945/0.1631, allocations: 141.4 kB / 0.5621 GB, free: 14.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1632, allocations: 4 kB / 0.5621 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1632, allocations: 12.12 kB / 0.5621 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1632, allocations: 0 / 0.5621 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1633, allocations: 23.98 kB / 0.5622 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1633, allocations: 3.938 kB / 0.5622 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.1634, allocations: 11.95 kB / 0.5622 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.1634, allocations: 8 kB / 0.5622 GB, free: 14.37 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.0001201/0.1635, allocations: 133.7 kB / 0.5623 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.445e-05/0.1635, allocations: 15.91 kB / 0.5623 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/0.1636, allocations: 21.39 kB / 0.5623 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1636, allocations: 0 / 0.5623 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1636, allocations: 3.938 kB / 0.5623 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1636, allocations: 3.938 kB / 0.5623 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.1638, allocations: 205.6 kB / 0.5625 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.1638, allocations: 7.984 kB / 0.5626 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.794e-05/0.1639, allocations: 11.98 kB / 0.5626 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1639, allocations: 0 / 0.5626 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.1639, allocations: 4 kB / 0.5626 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1639, allocations: 3.984 kB / 0.5626 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.1639, allocations: 7.875 kB / 0.5626 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004081/0.1643, allocations: 184.9 kB / 0.5628 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/0.1644, allocations: 93.03 kB / 0.5628 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.1644, allocations: 0 / 0.5628 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.892e-05/0.1645, allocations: 4 kB / 0.5628 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.1645, allocations: 15.92 kB / 0.5629 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1646, allocations: 4 kB / 0.5629 GB, free: 13.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.1647, allocations: 148.5 kB / 0.563 GB, free: 13.42 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1647, allocations: 192 / 0.563 GB, free: 13.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.1649, allocations: 27.94 kB / 0.563 GB, free: 13.39 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.002118/0.167, allocations: 1.021 MB / 0.564 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002657/0.1673, allocations: 83.77 kB / 0.5641 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1673, allocations: 0 / 0.5641 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1674, allocations: 31.98 kB / 0.5641 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1677, allocations: 39.66 kB / 0.5642 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.1699, allocations: 1.764 MB / 0.5659 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.1704, allocations: 0.7162 MB / 0.5666 GB, free: 9.727 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.236e-05/0.1704, allocations: 17.42 kB / 0.5666 GB, free: 9.711 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.235e-05/0.1705, allocations: 43.41 kB / 0.5667 GB, free: 9.668 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1705, allocations: 4 kB / 0.5667 GB, free: 9.664 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.1981, allocations: 3.84 MB / 0.5704 GB, free: 5.883 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.124, allocations: 7.188 kB / 0.5704 GB, free: 5.879 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 11.498023779015057]