Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.0009174/0.0009174, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001001/0.001001, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9454/0.9454, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2716/0.2716, allocations: 34.25 MB / 294.9 MB, free: 0.7227 MB / 266.7 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.Test69,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 442.2 MB, free: 1.598 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.778e-05, allocations: 4.531 kB / 442.3 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.1809/0.1809, allocations: 1.78 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.182, allocations: 1.053 MB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.539e-05/0.1821, allocations: 3.938 kB / 445.1 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.1824, allocations: 297.4 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.1827, allocations: 259.8 kB / 445.6 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001297/0.1828, allocations: 107.9 kB / 445.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.183, allocations: 273.3 kB / 446 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.287e-05/0.1831, allocations: 8.203 kB / 446 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.1832, allocations: 148.4 kB / 446.2 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.1833, allocations: 196.8 kB / 446.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.1833, allocations: 8.844 kB / 446.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.4e-05/0.1834, allocations: 54.31 kB / 446.4 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.939e-05/0.1835, allocations: 137.8 kB / 446.5 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.764e-05/0.1836, allocations: 75.52 kB / 446.6 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.1838, allocations: 347 kB / 447 MB, free: 42.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.1838, allocations: 1.812 kB / 447 MB, free: 42.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1838, allocations: 0 / 447 MB, free: 42.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1838, allocations: 0 / 447 MB, free: 42.73 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.00054/0.1844, allocations: 0.6687 MB / 447.6 MB, free: 42.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.1844, allocations: 9.281 kB / 447.6 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.423e-05/0.1844, allocations: 37.31 kB / 447.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.1845, allocations: 55.86 kB / 447.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.1848, allocations: 387.4 kB / 448.1 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1848, allocations: 6.719 kB / 448.1 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.1848, allocations: 3.219 kB / 448.1 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.185, allocations: 84.48 kB / 448.2 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.185, allocations: 0 / 448.2 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.185, allocations: 6.062 kB / 448.2 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.185, allocations: 1.031 kB / 448.2 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.607e-05/0.1851, allocations: 37.81 kB / 448.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.1853, allocations: 332.7 kB / 448.6 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.1854, allocations: 98.53 kB / 448.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.1855, allocations: 50.73 kB / 448.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.1855, allocations: 0 / 448.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.1856, allocations: 115.6 kB / 448.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.1856, allocations: 3.938 kB / 448.8 MB, free: 41.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002997/0.1859, allocations: 212.8 kB / 449 MB, free: 41.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.186, allocations: 77.11 kB / 449.1 MB, free: 41.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005768/0.1865, allocations: 1.033 MB / 450.1 MB, free: 40.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.1866, allocations: 32.48 kB / 450.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/0.1866, allocations: 235 kB / 450.4 MB, free: 40.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.1867, allocations: 32.53 kB / 450.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.1867, allocations: 25.38 kB / 450.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.633e-05/0.1867, allocations: 371.3 kB / 450.8 MB, free: 40.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.564e-05/0.1868, allocations: 26.44 kB / 450.9 MB, free: 40.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.57e-05/0.1868, allocations: 62.19 kB / 450.9 MB, free: 40.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.323e-05/0.1869, allocations: 94.52 kB / 451 MB, free: 40.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1869, allocations: 0 / 451 MB, free: 40.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000151/0.1871, allocations: 184.1 kB / 451.2 MB, free: 40.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.1871, allocations: 5.719 kB / 451.2 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1871, allocations: 2.812 kB / 451.2 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1871, allocations: 0 / 451.2 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.222e-05/0.1872, allocations: 28.38 kB / 451.2 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1872, allocations: 2.875 kB / 451.2 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.453e-05/0.1872, allocations: 12.28 kB / 451.2 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.1873, allocations: 2.906 kB / 451.2 MB, free: 40.13 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.000114/0.1874, allocations: 225.4 kB / 451.5 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.1874, allocations: 57.97 kB / 451.5 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.1876, allocations: 199.9 kB / 451.7 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1876, allocations: 3.031 kB / 451.7 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1876, allocations: 0 / 451.7 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1876, allocations: 10 kB / 451.7 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.1878, allocations: 289.7 kB / 452 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1878, allocations: 0 / 452 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-05/0.1878, allocations: 7.906 kB / 452 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1878, allocations: 7.562 kB / 452 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1878, allocations: 6.562 kB / 452 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1878, allocations: 0 / 452 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.1878, allocations: 3.281 kB / 452 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.188, allocations: 221.3 kB / 452.2 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.073e-05/0.1881, allocations: 73.02 kB / 452.3 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.1881, allocations: 10.56 kB / 452.3 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.019e-05/0.1881, allocations: 6.156 kB / 452.3 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.1882, allocations: 10.12 kB / 452.3 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.1882, allocations: 9.078 kB / 452.4 MB, free: 39.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003919/0.1886, allocations: 0.7697 MB / 453.1 MB, free: 39.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1886, allocations: 2.062 kB / 453.1 MB, free: 39.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001708/0.1887, allocations: 47.56 kB / 453.2 MB, free: 39.19 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.0008399/0.1896, allocations: 1.087 MB / 454.3 MB, free: 38.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.1897, allocations: 93.7 kB / 454.4 MB, free: 38.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.1897, allocations: 0 / 454.4 MB, free: 38.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.359e-05/0.1898, allocations: 41.34 kB / 454.4 MB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.19, allocations: 76.98 kB / 454.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/0.193, allocations: 4.549 MB / 459 MB, free: 36.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.1932, allocations: 242 kB / 459.3 MB, free: 36.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.025e-05/0.1932, allocations: 53.75 kB / 459.3 MB, free: 36.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.647e-05/0.1933, allocations: 148.8 kB / 459.5 MB, free: 36.07 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1933, allocations: 0 / 459.5 MB, free: 36.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.2125, allocations: 9.966 MB / 469.4 MB, free: 34.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.029/7.242, allocations: 12.44 kB / 469.4 MB, free: 34.1 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.456571090966463]