Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.0008688/0.0008688, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008769/0.0008769, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.8799/0.8799, allocations: 177 MB / 204.1 MB, free: 5.766 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.257/0.257, allocations: 34.24 MB / 294.8 MB, free: 0.6797 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.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 442.2 MB, free: 1.504 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178e-05/1.348e-05, allocations: 9.094 kB / 442.2 MB, free: 1.496 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.165/0.165, allocations: 1.78 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.1663, allocations: 1.052 MB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.1663, allocations: 6.562 kB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.1667, allocations: 306.3 kB / 445.4 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.167, allocations: 259.8 kB / 445.6 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.1672, allocations: 107.4 kB / 445.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.1674, allocations: 279.3 kB / 446 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.1674, allocations: 4.844 kB / 446 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1675, allocations: 153.8 kB / 446.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.1677, allocations: 206.4 kB / 446.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.1677, allocations: 5.281 kB / 446.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.139e-05/0.1678, allocations: 52.81 kB / 446.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.726e-05/0.1679, allocations: 148.1 kB / 446.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.708e-05/0.168, allocations: 71.42 kB / 446.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.1682, allocations: 357.8 kB / 447 MB, free: 42.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1682, allocations: 2.844 kB / 447 MB, free: 42.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1682, allocations: 0.75 kB / 447 MB, free: 42.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.1682, allocations: 0 / 447 MB, free: 42.63 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006177/0.1688, allocations: 0.69 MB / 447.7 MB, free: 42.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1689, allocations: 8.625 kB / 447.7 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.331e-05/0.1689, allocations: 36.78 kB / 447.7 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.1689, allocations: 48.64 kB / 447.8 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.1693, allocations: 391.1 kB / 448.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1693, allocations: 3.25 kB / 448.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.1693, allocations: 7.031 kB / 448.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.1695, allocations: 88.5 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1695, allocations: 1.844 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1695, allocations: 4.125 kB / 448.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1695, allocations: 0 / 448.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.296e-05/0.1695, allocations: 38.47 kB / 448.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.1698, allocations: 332.2 kB / 448.6 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.1699, allocations: 101.8 kB / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.17, allocations: 41.52 kB / 448.8 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.17, allocations: 0 / 448.8 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.1701, allocations: 116.5 kB / 448.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.1701, allocations: 0 / 448.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002948/0.1704, allocations: 217.4 kB / 449.1 MB, free: 41.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.1705, allocations: 79.95 kB / 449.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006139/0.1711, allocations: 1.06 MB / 450.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.1711, allocations: 29.7 kB / 450.2 MB, free: 40.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.406e-05/0.1712, allocations: 240.1 kB / 450.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.1712, allocations: 36.33 kB / 450.5 MB, free: 40.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.1712, allocations: 25.94 kB / 450.5 MB, free: 40.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.925e-05/0.1713, allocations: 373.5 kB / 450.9 MB, free: 40.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-05/0.1714, allocations: 27.34 kB / 450.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.174e-05/0.1714, allocations: 59.66 kB / 451 MB, free: 40.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.708e-05/0.1715, allocations: 96.3 kB / 451.1 MB, free: 40.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1715, allocations: 0 / 451.1 MB, free: 40.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001631/0.1717, allocations: 172.8 kB / 451.3 MB, free: 40.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1717, allocations: 9.031 kB / 451.3 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1717, allocations: 7.875 kB / 451.3 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1717, allocations: 2.906 kB / 451.3 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.122e-05/0.1718, allocations: 32.38 kB / 451.3 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.1718, allocations: 2.625 kB / 451.3 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.998e-05/0.1718, allocations: 6.859 kB / 451.3 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.1719, allocations: 8.188 kB / 451.3 MB, free: 40 MB / 410.7 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.000124/0.172, allocations: 232.9 kB / 451.6 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.172, allocations: 54.47 kB / 451.6 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.1722, allocations: 204.5 kB / 451.8 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1722, allocations: 2.938 kB / 451.8 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1722, allocations: 0 / 451.8 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1722, allocations: 8.859 kB / 451.8 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.1724, allocations: 294.7 kB / 452.1 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1724, allocations: 0 / 452.1 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.641e-05/0.1724, allocations: 15.86 kB / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1724, allocations: 0 / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1724, allocations: 7.188 kB / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.1724, allocations: 0 / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1724, allocations: 0 / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.1726, allocations: 225.8 kB / 452.3 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.1727, allocations: 60.66 kB / 452.4 MB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.1727, allocations: 10.75 kB / 452.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.201e-05/0.1727, allocations: 10.05 kB / 452.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.1728, allocations: 12.78 kB / 452.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.1728, allocations: 5.344 kB / 452.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004333/0.1732, allocations: 0.7899 MB / 453.2 MB, free: 39.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1732, allocations: 0 / 453.2 MB, free: 39.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000186/0.1734, allocations: 49.02 kB / 453.3 MB, free: 39.05 MB / 410.7 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.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0009178/0.1743, allocations: 1.094 MB / 454.4 MB, free: 38.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1745, allocations: 91.59 kB / 454.5 MB, free: 38.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1745, allocations: 0 / 454.5 MB, free: 38.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.83e-05/0.1745, allocations: 43.89 kB / 454.5 MB, free: 38.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.1748, allocations: 66.33 kB / 454.6 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.1781, allocations: 4.625 MB / 459.2 MB, free: 36.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.1782, allocations: 246.5 kB / 459.4 MB, free: 36.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.385e-05/0.1783, allocations: 55.88 kB / 459.5 MB, free: 36.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.1784, allocations: 155.7 kB / 459.6 MB, free: 35.9 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1784, allocations: 3.938 kB / 459.6 MB, free: 35.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.2024, allocations: 10.14 MB / 469.8 MB, free: 33.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.269, allocations: 12.42 kB / 469.8 MB, free: 33.86 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.340170931071043]