Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.001228/0.001228, allocations: 76.36 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.001352/0.001352, 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.8824/0.8824, allocations: 177 MB / 204.1 MB, free: 5.742 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.2273/0.2273, 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.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 442.2 MB, free: 1.492 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.759e-05, allocations: 5.234 kB / 442.2 MB, free: 1.488 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.1661/0.1661, allocations: 1.783 MB / 444 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1674, allocations: 1.052 MB / 445.1 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.897e-05/0.1674, allocations: 4.781 kB / 445.1 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004089/0.1679, allocations: 298.3 kB / 445.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.1682, allocations: 255.6 kB / 445.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.1683, allocations: 115.5 kB / 445.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.1685, allocations: 268.8 kB / 446 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.1685, allocations: 4.781 kB / 446 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.1687, allocations: 156.7 kB / 446.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.1688, allocations: 204.5 kB / 446.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.1688, allocations: 8.312 kB / 446.4 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.2e-05/0.1689, allocations: 46.86 kB / 446.4 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.613e-05/0.169, allocations: 132.9 kB / 446.5 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.56e-05/0.169, allocations: 77.44 kB / 446.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.1693, allocations: 348 kB / 446.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1693, allocations: 0 / 446.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1693, allocations: 0 / 446.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.1693, allocations: 0 / 446.9 MB, free: 42.61 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.0005322/0.1698, allocations: 0.6768 MB / 447.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1699, allocations: 8.281 kB / 447.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.642e-05/0.1699, allocations: 44.44 kB / 447.7 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.1699, allocations: 48.2 kB / 447.7 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.1703, allocations: 386.3 kB / 448.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1703, allocations: 3.312 kB / 448.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.1703, allocations: 3.125 kB / 448.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.1705, allocations: 86.94 kB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1705, allocations: 3.969 kB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.1705, allocations: 4.625 kB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1705, allocations: 6.812 kB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.615e-05/0.1706, allocations: 34.55 kB / 448.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.1708, allocations: 321.8 kB / 448.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.1709, allocations: 107.6 kB / 448.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.901e-05/0.171, allocations: 39.05 kB / 448.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.171, allocations: 2.781 kB / 448.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.1712, allocations: 115.5 kB / 448.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.1712, allocations: 0 / 448.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002788/0.1714, allocations: 216.2 kB / 449 MB, free: 41.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.1715, allocations: 83.95 kB / 449.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005479/0.172, allocations: 1.032 MB / 450.1 MB, free: 40.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.172, allocations: 25.7 kB / 450.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.799e-05/0.1721, allocations: 234.8 kB / 450.4 MB, free: 40.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.1721, allocations: 28.81 kB / 450.4 MB, free: 40.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.1722, allocations: 29.72 kB / 450.4 MB, free: 40.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.1722, allocations: 371.7 kB / 450.8 MB, free: 40.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.978e-05/0.1723, allocations: 27.42 kB / 450.8 MB, free: 40.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.694e-05/0.1723, allocations: 59.42 kB / 450.9 MB, free: 40.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.315e-05/0.1724, allocations: 91.25 kB / 451 MB, free: 40.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1724, allocations: 6.469 kB / 451 MB, free: 40.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001533/0.1725, allocations: 178.3 kB / 451.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.1726, allocations: 2.875 kB / 451.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1726, allocations: 6.75 kB / 451.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1726, allocations: 3.938 kB / 451.2 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-05/0.1727, allocations: 26.7 kB / 451.2 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1727, allocations: 2.578 kB / 451.2 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.491e-05/0.1727, allocations: 13 kB / 451.2 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1727, allocations: 3.406 kB / 451.2 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.000111/0.1728, allocations: 230.9 kB / 451.4 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.1729, allocations: 53.41 kB / 451.5 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.1731, allocations: 205.9 kB / 451.7 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1731, allocations: 0 / 451.7 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1731, allocations: 2.875 kB / 451.7 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1731, allocations: 0.8438 kB / 451.7 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.1732, allocations: 294.3 kB / 452 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1732, allocations: 3.938 kB / 452 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.1733, allocations: 11.92 kB / 452 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1733, allocations: 7.125 kB / 452 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1733, allocations: 3.938 kB / 452 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1733, allocations: 3 kB / 452 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1733, allocations: 0 / 452 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.1734, allocations: 219.1 kB / 452.2 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.1735, allocations: 61.66 kB / 452.3 MB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.1735, allocations: 14.66 kB / 452.3 MB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.969e-05/0.1735, allocations: 9.984 kB / 452.3 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.1736, allocations: 12.81 kB / 452.3 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1736, allocations: 9.172 kB / 452.3 MB, free: 39.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000407/0.174, allocations: 0.7754 MB / 453.1 MB, free: 39.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.174, allocations: 0 / 453.1 MB, free: 39.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.1742, allocations: 46 kB / 453.2 MB, free: 39.06 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.0008583/0.175, allocations: 1.081 MB / 454.2 MB, free: 38.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.1752, allocations: 91.97 kB / 454.3 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1752, allocations: 0 / 454.3 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.357e-05/0.1752, allocations: 38.47 kB / 454.4 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.1755, allocations: 71.58 kB / 454.4 MB, free: 38.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.1787, allocations: 4.54 MB / 459 MB, free: 36.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.1788, allocations: 236 kB / 459.2 MB, free: 36.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.325e-05/0.1789, allocations: 58.88 kB / 459.3 MB, free: 36.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.179, allocations: 148.9 kB / 459.4 MB, free: 35.95 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.179, allocations: 0 / 459.4 MB, free: 35.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02003/0.1991, allocations: 9.969 MB / 469.4 MB, free: 33.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.208/7.407, allocations: 10.06 kB / 469.4 MB, free: 33.94 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.494324912317097]