Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.0008417/0.0008417, 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.0009601/0.0009601, allocations: 174 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.9155/0.9155, allocations: 177.1 MB / 204.2 MB, free: 5.727 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.2611/0.2611, allocations: 34.25 MB / 294.9 MB, free: 0.7148 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.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 442.3 MB, free: 1.598 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.86e-05, allocations: 4.25 kB / 442.3 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.1763/0.1763, allocations: 1.781 MB / 444 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.1774, allocations: 1.047 MB / 445.1 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.934e-05/0.1775, allocations: 1.688 kB / 445.1 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004138/0.1779, allocations: 314.1 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003646/0.1783, allocations: 261.5 kB / 445.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.1785, allocations: 110.8 kB / 445.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.1787, allocations: 265.2 kB / 446 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.301e-05/0.1788, allocations: 19.61 kB / 446 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.1789, allocations: 142.5 kB / 446.2 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.1791, allocations: 210.5 kB / 446.4 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.1791, allocations: 6.688 kB / 446.4 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.573e-05/0.1792, allocations: 49.08 kB / 446.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.868e-05/0.1793, allocations: 146.4 kB / 446.6 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.659e-05/0.1793, allocations: 73.88 kB / 446.6 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.1796, allocations: 366.9 kB / 447 MB, free: 42.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1796, allocations: 0 / 447 MB, free: 42.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1796, allocations: 0 / 447 MB, free: 42.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1796, allocations: 0 / 447 MB, free: 42.7 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.0005756/0.1801, allocations: 0.6799 MB / 447.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1802, allocations: 8.031 kB / 447.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.504e-05/0.1802, allocations: 33.56 kB / 447.7 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.1803, allocations: 50.95 kB / 447.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.1806, allocations: 396 kB / 448.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1806, allocations: 3.25 kB / 448.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.1806, allocations: 10.39 kB / 448.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.1807, allocations: 87.03 kB / 448.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.1808, allocations: 0 / 448.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.1808, allocations: 0.5625 kB / 448.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1808, allocations: 2.938 kB / 448.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.158e-05/0.1808, allocations: 42.22 kB / 448.3 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.1811, allocations: 334.7 kB / 448.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.1812, allocations: 104.9 kB / 448.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.919e-05/0.1813, allocations: 35.58 kB / 448.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.1813, allocations: 6.781 kB / 448.8 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.1814, allocations: 120.8 kB / 448.9 MB, free: 41.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.113e-06/0.1814, allocations: 0 / 448.9 MB, free: 41.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002953/0.1817, allocations: 204.8 kB / 449.1 MB, free: 41.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.1818, allocations: 80.11 kB / 449.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005952/0.1824, allocations: 1.061 MB / 450.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.1824, allocations: 32.55 kB / 450.3 MB, free: 40.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.1824, allocations: 240 kB / 450.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.1825, allocations: 29.34 kB / 450.5 MB, free: 40.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.1825, allocations: 29.55 kB / 450.6 MB, free: 40.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.022e-05/0.1826, allocations: 370.1 kB / 450.9 MB, free: 40.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.605e-05/0.1826, allocations: 35.22 kB / 451 MB, free: 40.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.828e-05/0.1826, allocations: 60.44 kB / 451 MB, free: 40.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.163e-05/0.1827, allocations: 91.44 kB / 451.1 MB, free: 40.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1827, allocations: 0 / 451.1 MB, free: 40.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001622/0.1829, allocations: 178.7 kB / 451.3 MB, free: 40.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1829, allocations: 5.75 kB / 451.3 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1829, allocations: 4.062 kB / 451.3 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1829, allocations: 2.938 kB / 451.3 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.183, allocations: 24.31 kB / 451.3 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.183, allocations: 0 / 451.3 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.038e-05/0.1831, allocations: 20.16 kB / 451.3 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1831, allocations: 2.938 kB / 451.3 MB, free: 40.08 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.0001244/0.1832, allocations: 231.5 kB / 451.6 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.1832, allocations: 58.66 kB / 451.6 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.1835, allocations: 207.2 kB / 451.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1835, allocations: 4 kB / 451.8 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1835, allocations: 6.844 kB / 451.8 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1835, allocations: 0 / 451.8 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.1836, allocations: 292 kB / 452.1 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1836, allocations: 0 / 452.1 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.1837, allocations: 11.64 kB / 452.1 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.1837, allocations: 7.625 kB / 452.1 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.1837, allocations: 2.656 kB / 452.1 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1837, allocations: 0 / 452.1 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1837, allocations: 3.938 kB / 452.1 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.1839, allocations: 221.6 kB / 452.4 MB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.1839, allocations: 69.05 kB / 452.4 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.1839, allocations: 10.59 kB / 452.4 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.911e-05/0.184, allocations: 6.109 kB / 452.4 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.184, allocations: 10.33 kB / 452.5 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.184, allocations: 5.875 kB / 452.5 MB, free: 39.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004317/0.1845, allocations: 0.7914 MB / 453.2 MB, free: 39.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1845, allocations: 2.062 kB / 453.3 MB, free: 39.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000179/0.1846, allocations: 53.75 kB / 453.3 MB, free: 39.13 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.0008599/0.1855, allocations: 1.096 MB / 454.4 MB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.1856, allocations: 86.73 kB / 454.5 MB, free: 38.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1856, allocations: 2.531 kB / 454.5 MB, free: 38.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.947e-05/0.1857, allocations: 41.77 kB / 454.5 MB, free: 38.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.186, allocations: 72.7 kB / 454.6 MB, free: 38.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.1891, allocations: 4.639 MB / 459.2 MB, free: 36.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.1892, allocations: 242.9 kB / 459.5 MB, free: 36.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.468e-05/0.1893, allocations: 59.48 kB / 459.5 MB, free: 36.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.917e-05/0.1894, allocations: 152 kB / 459.7 MB, free: 35.98 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1894, allocations: 4 kB / 459.7 MB, free: 35.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.2068, allocations: 10.13 MB / 469.8 MB, free: 33.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.019/7.226, allocations: 10.44 kB / 469.8 MB, free: 33.98 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.367192728444934]