Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.0009353/0.0009353, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009242/0.0009242, 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.8969/0.8969, allocations: 177.1 MB / 204.3 MB, free: 5.746 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.2439/0.2439, allocations: 34.24 MB / 294.9 MB, free: 0.7109 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.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013e-05/1.141e-05, allocations: 2.281 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.001847/0.001859, allocations: 1.614 MB / 443.8 MB, free: 16 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1753/0.1772, allocations: 0.5336 MB / 444.3 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.1772, allocations: 0 / 444.3 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.1775, allocations: 98.59 kB / 444.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.1777, allocations: 113.1 kB / 444.5 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.1779, allocations: 115.9 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.1781, allocations: 90.41 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.961e-05/0.1782, allocations: 19.45 kB / 444.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.962e-05/0.1782, allocations: 45.45 kB / 444.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.964e-05/0.1783, allocations: 56.14 kB / 444.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1783, allocations: 6.125 kB / 444.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.845e-05/0.1784, allocations: 46.41 kB / 444.9 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.311e-05/0.1784, allocations: 25.45 kB / 444.9 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.1784, allocations: 15.55 kB / 445 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.1786, allocations: 104 kB / 445.1 MB, free: 43.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1786, allocations: 3.688 kB / 445.1 MB, free: 43.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1786, allocations: 3.938 kB / 445.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.1786, allocations: 0 / 445.1 MB, free: 43.16 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.0003363/0.1789, allocations: 345.7 kB / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.179, allocations: 11.91 kB / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.213e-05/0.179, allocations: 37.97 kB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.179, allocations: 16.34 kB / 445.5 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.1791, allocations: 137.4 kB / 445.6 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.1791, allocations: 3.625 kB / 445.6 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.1792, allocations: 9.719 kB / 445.6 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.1793, allocations: 58.5 kB / 445.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1793, allocations: 192 / 445.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.1793, allocations: 7.875 kB / 445.7 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1793, allocations: 0 / 445.7 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.626e-05/0.1793, allocations: 28.84 kB / 445.7 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/0.1796, allocations: 271.9 kB / 446 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.857e-05/0.1797, allocations: 50.38 kB / 446 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.1797, allocations: 15.77 kB / 446 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.1797, allocations: 2.531 kB / 446 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.314e-05/0.1797, allocations: 38.44 kB / 446.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1797, allocations: 0 / 446.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005468/0.1803, allocations: 246.2 kB / 446.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.1803, allocations: 51.41 kB / 446.4 MB, free: 42.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.1804, allocations: 232.8 kB / 446.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.1804, allocations: 32.02 kB / 446.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/0.1804, allocations: 108.3 kB / 446.7 MB, free: 41.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.1805, allocations: 28.34 kB / 446.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.1805, allocations: 23.14 kB / 446.8 MB, free: 41.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.778e-05/0.1805, allocations: 327.3 kB / 447.1 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.62e-05/0.1806, allocations: 30.45 kB / 447.1 MB, free: 41.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.665e-05/0.1806, allocations: 36.72 kB / 447.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.222e-05/0.1807, allocations: 72.77 kB / 447.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1807, allocations: 0 / 447.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001176/0.1808, allocations: 114.1 kB / 447.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1808, allocations: 5.25 kB / 447.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1808, allocations: 3.688 kB / 447.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1808, allocations: 2.719 kB / 447.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.761e-05/0.1809, allocations: 19.11 kB / 447.4 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1809, allocations: 6.141 kB / 447.4 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.1809, allocations: 6.922 kB / 447.4 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1809, allocations: 6.688 kB / 447.4 MB, free: 41.56 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 4.992e-05/0.181, allocations: 137.1 kB / 447.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.181, allocations: 9.641 kB / 447.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.1812, allocations: 129.1 kB / 447.7 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1812, allocations: 0 / 447.7 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1812, allocations: 4 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1812, allocations: 3.125 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.1815, allocations: 388.4 kB / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1815, allocations: 0 / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.1815, allocations: 17.64 kB / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1815, allocations: 7.875 kB / 448.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.1815, allocations: 7 kB / 448.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1815, allocations: 6.938 kB / 448.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1815, allocations: 0 / 448.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.1816, allocations: 216.1 kB / 448.3 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.1816, allocations: 9.734 kB / 448.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.1816, allocations: 3.188 kB / 448.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.141e-05/0.1817, allocations: 11.5 kB / 448.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.1817, allocations: 9.578 kB / 448.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.1817, allocations: 2.656 kB / 448.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.91e-05/0.1818, allocations: 172.2 kB / 448.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1818, allocations: 0 / 448.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001747/0.182, allocations: 29.31 kB / 448.5 MB, free: 40.87 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.0009328/0.1829, allocations: 1.127 MB / 449.7 MB, free: 40.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.183, allocations: 82.62 kB / 449.7 MB, free: 40.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.183, allocations: 3.938 kB / 449.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.336e-05/0.1831, allocations: 41.33 kB / 449.8 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.1833, allocations: 19.22 kB / 449.8 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009859/0.1843, allocations: 1.767 MB / 451.6 MB, free: 38.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.195e-05/0.1844, allocations: 105.7 kB / 451.7 MB, free: 38.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.923e-05/0.1844, allocations: 16.69 kB / 451.7 MB, free: 38.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.1845, allocations: 41.08 kB / 451.7 MB, free: 38.61 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1845, allocations: 0 / 451.7 MB, free: 38.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.2007, allocations: 3.949 MB / 455.7 MB, free: 37.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.899/7.1, allocations: 4.641 kB / 455.7 MB, free: 37.24 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.168321964330971]