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.0008709/0.0008709, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008261/0.0008261, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.9016/0.9016, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2466/0.2466, allocations: 34.24 MB / 294.8 MB, free: 0.6875 MB / 266.7 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 1.423e-06/1.423e-06, allocations: 0 / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089e-05/1.231e-05, allocations: 2.281 kB / 442.2 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.1676/0.1676, allocations: 1.902 MB / 444.1 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1688, allocations: 1.012 MB / 445.2 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.1689, allocations: 2.781 kB / 445.2 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.1693, allocations: 38.97 kB / 445.2 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.1696, allocations: 104.5 kB / 445.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.1699, allocations: 99.34 kB / 445.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.1701, allocations: 147 kB / 445.5 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.1702, allocations: 21.62 kB / 445.6 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.1703, allocations: 82.66 kB / 445.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.1704, allocations: 35.78 kB / 445.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.1705, allocations: 8.469 kB / 445.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1706, allocations: 46.2 kB / 445.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.57e-05/0.1706, allocations: 36.45 kB / 445.8 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.1707, allocations: 32.58 kB / 445.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.1709, allocations: 159.2 kB / 445.9 MB, free: 42.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1709, allocations: 3.125 kB / 446 MB, free: 42.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1709, allocations: 0 / 446 MB, free: 42.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1709, allocations: 0 / 446 MB, free: 42.78 MB / 410.7 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.0004886/0.1714, allocations: 412.2 kB / 446.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1714, allocations: 8.594 kB / 446.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/0.1715, allocations: 40.58 kB / 446.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.1715, allocations: 17.81 kB / 446.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.1718, allocations: 173.2 kB / 446.6 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.1718, allocations: 3.188 kB / 446.6 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1718, allocations: 7.75 kB / 446.6 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.172, allocations: 139.5 kB / 446.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.172, allocations: 192 / 446.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.1721, allocations: 10.75 kB / 446.7 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1721, allocations: 0 / 446.7 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.988e-05/0.1722, allocations: 57.11 kB / 446.8 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.1726, allocations: 473.2 kB / 447.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.1728, allocations: 86.44 kB / 447.3 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.819e-05/0.1729, allocations: 35.39 kB / 447.4 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.1729, allocations: 8.672 kB / 447.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.173, allocations: 113.5 kB / 447.5 MB, free: 41.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.173, allocations: 0 / 447.5 MB, free: 41.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002563/0.1733, allocations: 152.4 kB / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.1733, allocations: 51.41 kB / 447.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1734, allocations: 203.2 kB / 447.9 MB, free: 41.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.1734, allocations: 25.7 kB / 447.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.1735, allocations: 127.9 kB / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.1735, allocations: 29.89 kB / 448.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.1735, allocations: 29.78 kB / 448.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.54e-05/0.1736, allocations: 336.1 kB / 448.4 MB, free: 40.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.998e-05/0.1736, allocations: 29.55 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.048e-05/0.1737, allocations: 62.45 kB / 448.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.1738, allocations: 107.1 kB / 448.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1738, allocations: 2.781 kB / 448.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001484/0.1739, allocations: 143.4 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1739, allocations: 5.469 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.1739, allocations: 2.75 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.174, allocations: 0 / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.381e-05/0.174, allocations: 23.16 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.174, allocations: 0 / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.829e-05/0.1741, allocations: 13.14 kB / 448.8 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.1741, allocations: 13.78 kB / 448.8 MB, free: 40.59 MB / 410.7 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 6.836e-05/0.1741, allocations: 126.4 kB / 449 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.1742, allocations: 13.56 kB / 449 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.1743, allocations: 137.8 kB / 449.1 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1743, allocations: 2.844 kB / 449.1 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1743, allocations: 0 / 449.1 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1743, allocations: 0 / 449.1 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.972e-05/0.1744, allocations: 182.4 kB / 449.3 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1744, allocations: 0 / 449.3 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.304e-05/0.1745, allocations: 14.59 kB / 449.3 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1745, allocations: 4 kB / 449.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1745, allocations: 0 / 449.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1745, allocations: 2.625 kB / 449.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1745, allocations: 0 / 449.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.1747, allocations: 200.3 kB / 449.5 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.1747, allocations: 13.59 kB / 449.5 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.1747, allocations: 10.78 kB / 449.5 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.848e-05/0.1748, allocations: 6.359 kB / 449.5 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.1748, allocations: 14.52 kB / 449.5 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.1748, allocations: 5.625 kB / 449.5 MB, free: 40.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.524e-05/0.1749, allocations: 146.1 kB / 449.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1749, allocations: 0 / 449.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001649/0.175, allocations: 31.39 kB / 449.7 MB, free: 39.97 MB / 410.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.0009172/0.176, allocations: 1.05 MB / 450.8 MB, free: 39.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001681/0.1761, allocations: 83 kB / 450.9 MB, free: 39.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1761, allocations: 0 / 450.9 MB, free: 39.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.329e-05/0.1762, allocations: 39.02 kB / 450.9 MB, free: 39.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.1764, allocations: 41.47 kB / 450.9 MB, free: 39.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.1776, allocations: 1.782 MB / 452.7 MB, free: 37.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.028e-05/0.1776, allocations: 102 kB / 452.8 MB, free: 37.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.129e-05/0.1777, allocations: 16 kB / 452.8 MB, free: 37.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/0.1778, allocations: 39.27 kB / 452.9 MB, free: 37.71 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1778, allocations: 4 kB / 452.9 MB, free: 37.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.1948, allocations: 4.681 MB / 457.6 MB, free: 36.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.013/7.208, allocations: 12.89 kB / 457.6 MB, free: 36.27 MB / 410.7 MB " [Timeout remaining time 653] (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/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_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: 9.298286738805473]