Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001259/0.001259, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.001472/0.001472, allocations: 170 kB / 23.94 MB, free: 0.6211 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.931/0.931, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.2485/0.2485, allocations: 34.24 MB / 294.9 MB, free: 0.707 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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.933e-05, allocations: 2.281 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002124/0.002143, allocations: 1.621 MB / 443.8 MB, free: 24 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1768/0.179, allocations: 0.5334 MB / 444.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/0.179, allocations: 0 / 444.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.1793, allocations: 127.9 kB / 444.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.1796, allocations: 128.4 kB / 444.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.1799, allocations: 105.9 kB / 444.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.18, allocations: 108.3 kB / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1801, allocations: 14.5 kB / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.964e-05/0.1802, allocations: 56.16 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1803, allocations: 88.8 kB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1803, allocations: 4.531 kB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.842e-05/0.1804, allocations: 43.11 kB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.1804, allocations: 29.73 kB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.1805, allocations: 23.3 kB / 445.1 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.1806, allocations: 116.7 kB / 445.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.1806, allocations: 0 / 445.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1806, allocations: 0 / 445.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1806, allocations: 2.844 kB / 445.2 MB, free: 43.12 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.0003356/0.181, allocations: 363.9 kB / 445.5 MB, free: 42.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.181, allocations: 11.38 kB / 445.5 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.519e-05/0.181, allocations: 40.88 kB / 445.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.181, allocations: 20.56 kB / 445.6 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.1812, allocations: 151.6 kB / 445.8 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.1812, allocations: 3.031 kB / 445.8 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.1812, allocations: 5.375 kB / 445.8 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.1813, allocations: 58.09 kB / 445.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1813, allocations: 6.484 kB / 445.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1813, allocations: 3.938 kB / 445.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1813, allocations: 0 / 445.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.239e-05/0.1814, allocations: 28.89 kB / 445.9 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.1817, allocations: 274.9 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.012e-05/0.1818, allocations: 51.5 kB / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/0.1818, allocations: 14.05 kB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1818, allocations: 3.062 kB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.1818, allocations: 38.09 kB / 446.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.1818, allocations: 0 / 446.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006057/0.1824, allocations: 243.5 kB / 446.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.1824, allocations: 51.91 kB / 446.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.1826, allocations: 276.6 kB / 446.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.1826, allocations: 30.2 kB / 446.8 MB, free: 42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.1826, allocations: 122.4 kB / 446.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.1827, allocations: 29.86 kB / 447 MB, free: 41.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.1827, allocations: 19.22 kB / 447 MB, free: 41.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.341e-05/0.1827, allocations: 334.9 kB / 447.3 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.313e-05/0.1828, allocations: 31.52 kB / 447.3 MB, free: 41.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.816e-05/0.1828, allocations: 34.88 kB / 447.4 MB, free: 41.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.299e-05/0.1829, allocations: 73.31 kB / 447.4 MB, free: 41.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1829, allocations: 0.75 kB / 447.4 MB, free: 41.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001173/0.183, allocations: 117.5 kB / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.183, allocations: 4.469 kB / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.183, allocations: 0.7812 kB / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.183, allocations: 2.812 kB / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.384e-05/0.1831, allocations: 16.69 kB / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.1831, allocations: 6.938 kB / 447.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.1831, allocations: 9.703 kB / 447.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.1831, allocations: 2.844 kB / 447.6 MB, free: 41.5 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 (8): * Single equations (assignments): 8 * 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 5.284e-05/0.1832, allocations: 140.3 kB / 447.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.1832, allocations: 19.58 kB / 447.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.1834, allocations: 133.3 kB / 447.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1834, allocations: 0 / 447.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1834, allocations: 0 / 447.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1834, allocations: 2.906 kB / 447.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.1836, allocations: 395.6 kB / 448.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1836, allocations: 0 / 448.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-05/0.1837, allocations: 25.16 kB / 448.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1837, allocations: 0 / 448.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1837, allocations: 6.531 kB / 448.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1837, allocations: 3.938 kB / 448.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1837, allocations: 0 / 448.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.1838, allocations: 220.3 kB / 448.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.1838, allocations: 14.06 kB / 448.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.1838, allocations: 6.281 kB / 448.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.74e-05/0.1839, allocations: 10.72 kB / 448.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.1839, allocations: 10.31 kB / 448.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.1839, allocations: 6.781 kB / 448.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.32e-05/0.184, allocations: 214.7 kB / 448.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.184, allocations: 0 / 448.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001622/0.1841, allocations: 18.12 kB / 448.8 MB, free: 40.79 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008779/0.185, allocations: 1.13 MB / 449.9 MB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.1852, allocations: 80.88 kB / 450 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.1852, allocations: 2.781 kB / 450 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.492e-05/0.1852, allocations: 36.88 kB / 450.1 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.1855, allocations: 23.22 kB / 450.1 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.1865, allocations: 1.858 MB / 451.9 MB, free: 38.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.718e-05/0.1866, allocations: 112.7 kB / 452 MB, free: 38.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.465e-05/0.1866, allocations: 17.7 kB / 452.1 MB, free: 38.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.1867, allocations: 41.38 kB / 452.1 MB, free: 38.48 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1867, allocations: 0 / 452.1 MB, free: 38.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.2025, allocations: 4.143 MB / 456.2 MB, free: 37.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.928/7.131, allocations: 14.42 kB / 456.3 MB, free: 37.09 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test31_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.240748714655638]