Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.0008749/0.0008749, 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.001/0.001, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9145/0.9145, 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.2419/0.2419, 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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.15e-05, allocations: 6.219 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.1789/0.179, allocations: 1.648 MB / 443.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1803, allocations: 1.276 MB / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.1803, allocations: 2.938 kB / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.1805, allocations: 26.78 kB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.1808, allocations: 91.64 kB / 445.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.181, allocations: 180.8 kB / 445.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.1812, allocations: 81.94 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.114e-05/0.1813, allocations: 12.3 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.279e-05/0.1813, allocations: 43.17 kB / 445.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.049e-05/0.1814, allocations: 29.56 kB / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.1814, allocations: 5.531 kB / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1815, allocations: 101.4 kB / 445.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.1816, allocations: 20.23 kB / 445.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.1816, allocations: 19.98 kB / 445.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.1818, allocations: 157.5 kB / 445.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1818, allocations: 0 / 445.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1818, allocations: 0 / 445.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1818, allocations: 0 / 445.9 MB, free: 42.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000373/0.1821, allocations: 357.6 kB / 446.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1822, allocations: 9.469 kB / 446.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.188e-05/0.1822, allocations: 31.31 kB / 446.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.1822, allocations: 10.83 kB / 446.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.1824, allocations: 153 kB / 446.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.1824, allocations: 3.75 kB / 446.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.1824, allocations: 7.5 kB / 446.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.1825, allocations: 99.78 kB / 446.5 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.1825, allocations: 192 / 446.5 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1825, allocations: 3.938 kB / 446.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1825, allocations: 2.812 kB / 446.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.156e-05/0.1826, allocations: 41.06 kB / 446.6 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/0.1829, allocations: 278.6 kB / 446.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.724e-05/0.183, allocations: 46.34 kB / 446.9 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.183, allocations: 30.36 kB / 446.9 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.183, allocations: 0 / 446.9 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.183, allocations: 33.41 kB / 447 MB, free: 41.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.183, allocations: 0 / 447 MB, free: 41.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004823/0.1835, allocations: 233.7 kB / 447.2 MB, free: 41.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.1835, allocations: 82.95 kB / 447.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.73e-05/0.1836, allocations: 149.8 kB / 447.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.1836, allocations: 29.7 kB / 447.4 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/0.1837, allocations: 109 kB / 447.5 MB, free: 41.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.1837, allocations: 25.8 kB / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.1837, allocations: 23.47 kB / 447.6 MB, free: 41.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.793e-05/0.1837, allocations: 324.7 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.197e-05/0.1838, allocations: 43.67 kB / 448 MB, free: 41.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.678e-05/0.1839, allocations: 77.23 kB / 448 MB, free: 41.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.184, allocations: 89.53 kB / 448.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.184, allocations: 0 / 448.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001442/0.1841, allocations: 126.2 kB / 448.2 MB, free: 41.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1841, allocations: 5.375 kB / 448.2 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1841, allocations: 0 / 448.2 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1841, allocations: 2.844 kB / 448.2 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.052e-05/0.1842, allocations: 22.62 kB / 448.3 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1842, allocations: 2.844 kB / 448.3 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.768e-05/0.1843, allocations: 9.156 kB / 448.3 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1843, allocations: 5.156 kB / 448.3 MB, free: 41.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 4.491e-05/0.1843, allocations: 124 kB / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.1843, allocations: 14.86 kB / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.1845, allocations: 140.2 kB / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1845, allocations: 0 / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1845, allocations: 3.938 kB / 448.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1845, allocations: 2.75 kB / 448.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.1848, allocations: 381.3 kB / 448.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1848, allocations: 2.656 kB / 448.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/0.1849, allocations: 21.27 kB / 449 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1849, allocations: 0 / 449 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1849, allocations: 4.281 kB / 449 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1849, allocations: 0 / 449 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1849, allocations: 3.938 kB / 449 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.185, allocations: 228.5 kB / 449.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.185, allocations: 10.2 kB / 449.2 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.1851, allocations: 0 / 449.2 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.045e-05/0.1851, allocations: 16.89 kB / 449.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.1851, allocations: 12.84 kB / 449.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.1851, allocations: 2.781 kB / 449.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.846e-05/0.1852, allocations: 116.3 kB / 449.3 MB, free: 40.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1852, allocations: 0 / 449.3 MB, free: 40.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000191/0.1854, allocations: 46.16 kB / 449.4 MB, free: 40.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0009546/0.1863, allocations: 1.194 MB / 450.6 MB, free: 39.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.1865, allocations: 83.36 kB / 450.7 MB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1865, allocations: 0 / 450.7 MB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.984e-05/0.1866, allocations: 51.16 kB / 450.7 MB, free: 39.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.1868, allocations: 25.8 kB / 450.7 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.1879, allocations: 1.647 MB / 452.4 MB, free: 38.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.192e-05/0.1879, allocations: 93.97 kB / 452.5 MB, free: 38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.982e-05/0.188, allocations: 21.59 kB / 452.5 MB, free: 38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.1881, allocations: 35.48 kB / 452.5 MB, free: 37.99 MB / 410.7 MB Notification: Performance of SimCode: time 4.6e-07/0.1881, allocations: 0 / 452.5 MB, free: 37.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.2057, allocations: 4.376 MB / 456.9 MB, free: 36.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.893/7.099, allocations: 8.625 kB / 456.9 MB, free: 36.5 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.21354320179671]