Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.0008658/0.0008658, 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.0009047/0.0009047, 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.9185/0.9185, allocations: 177.1 MB / 204.2 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2252/0.2252, allocations: 32.78 MB / 293.5 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.856e-05, allocations: 2.281 kB / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002226/0.002245, allocations: 1.656 MB / 441.3 MB, free: 2.574 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006988/0.002943, allocations: 0.5685 MB / 441.8 MB, free: 2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.704e-05/0.003001, allocations: 0 / 441.8 MB, free: 2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004396/0.00344, allocations: 455.1 kB / 442.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.003791, allocations: 295.2 kB / 442.6 MB, free: 1.266 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.004084, allocations: 188.2 kB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.004293, allocations: 175.6 kB / 442.9 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.004416, allocations: 15.98 kB / 442.9 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.004541, allocations: 127.7 kB / 443 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.004724, allocations: 239.6 kB / 443.3 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.00474, allocations: 4 kB / 443.3 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.741e-05/0.004807, allocations: 35.94 kB / 443.3 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.651e-05/0.004884, allocations: 95.62 kB / 443.4 MB, free: 416 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.004919, allocations: 35.75 kB / 443.4 MB, free: 380 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.005133, allocations: 251.1 kB / 443.7 MB, free: 128 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.005134, allocations: 3.938 kB / 443.7 MB, free: 124 kB / 410.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005135, allocations: 3.938 kB / 443.7 MB, free: 120 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.00514, allocations: 0 / 443.7 MB, free: 120 kB / 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.168/0.1732, allocations: 0.593 MB / 444.3 MB, free: 46.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1732, allocations: 11.06 kB / 444.3 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.609e-05/0.1732, allocations: 32.19 kB / 444.3 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.1733, allocations: 45.06 kB / 444.4 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.1735, allocations: 247.9 kB / 444.6 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1735, allocations: 1.875 kB / 444.6 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.1735, allocations: 5.531 kB / 444.6 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1736, allocations: 60.31 kB / 444.7 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1737, allocations: 3.469 kB / 444.7 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1737, allocations: 2.781 kB / 444.7 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1737, allocations: 6.75 kB / 444.7 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.41e-05/0.1738, allocations: 38.39 kB / 444.7 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.1741, allocations: 374.4 kB / 445.1 MB, free: 46.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.601e-05/0.1742, allocations: 51.31 kB / 445.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.133e-05/0.1743, allocations: 27.48 kB / 445.2 MB, free: 45.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.1743, allocations: 4.906 kB / 445.2 MB, free: 45.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.1743, allocations: 36.73 kB / 445.2 MB, free: 45.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.462e-06/0.1743, allocations: 0 / 445.2 MB, free: 45.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005723/0.1749, allocations: 321.2 kB / 445.5 MB, free: 45.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.1749, allocations: 53.69 kB / 445.6 MB, free: 45.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004841/0.1754, allocations: 0.8743 MB / 446.5 MB, free: 45.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.1754, allocations: 25.7 kB / 446.5 MB, free: 45.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.1755, allocations: 221.7 kB / 446.7 MB, free: 45.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.1755, allocations: 22.89 kB / 446.7 MB, free: 45.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.1755, allocations: 22.84 kB / 446.7 MB, free: 45.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.457e-05/0.1756, allocations: 361.4 kB / 447.1 MB, free: 44.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.937e-05/0.1757, allocations: 36.94 kB / 447.1 MB, free: 44.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.639e-05/0.1757, allocations: 45.05 kB / 447.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.1758, allocations: 98.27 kB / 447.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1758, allocations: 0 / 447.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001696/0.176, allocations: 157 kB / 447.4 MB, free: 44.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.176, allocations: 2.938 kB / 447.4 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.176, allocations: 2.625 kB / 447.4 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.176, allocations: 6.312 kB / 447.4 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.802e-05/0.1761, allocations: 21.58 kB / 447.5 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1761, allocations: 0 / 447.5 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.1762, allocations: 8.859 kB / 447.5 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.1762, allocations: 13.95 kB / 447.5 MB, free: 44.8 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 0.0001103/0.1763, allocations: 216.7 kB / 447.7 MB, free: 44.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.1763, allocations: 49.11 kB / 447.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.1766, allocations: 176.1 kB / 447.9 MB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1766, allocations: 0 / 447.9 MB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1766, allocations: 6.875 kB / 447.9 MB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1766, allocations: 3.562 kB / 447.9 MB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.1769, allocations: 488.3 kB / 448.4 MB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1769, allocations: 2.812 kB / 448.4 MB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.702e-05/0.177, allocations: 20.77 kB / 448.4 MB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.177, allocations: 0 / 448.4 MB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.177, allocations: 0 / 448.4 MB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.177, allocations: 5.562 kB / 448.4 MB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.177, allocations: 0 / 448.4 MB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.1772, allocations: 266.7 kB / 448.7 MB, free: 44.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.1772, allocations: 40.73 kB / 448.7 MB, free: 44.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.1772, allocations: 4.469 kB / 448.7 MB, free: 44.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.405e-05/0.1773, allocations: 13.11 kB / 448.8 MB, free: 44.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.1773, allocations: 8.562 kB / 448.8 MB, free: 44.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.1773, allocations: 0 / 448.8 MB, free: 44.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003274/0.1777, allocations: 0.6647 MB / 449.4 MB, free: 43.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1777, allocations: 0 / 449.4 MB, free: 43.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001913/0.1778, allocations: 30.94 kB / 449.5 MB, free: 43.77 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.0009284/0.1788, allocations: 1.12 MB / 450.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.179, allocations: 86.83 kB / 450.7 MB, free: 43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.179, allocations: 0 / 450.7 MB, free: 43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.184e-05/0.179, allocations: 41.88 kB / 450.7 MB, free: 43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.1793, allocations: 35.52 kB / 450.7 MB, free: 42.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.1818, allocations: 3.384 MB / 454.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.1819, allocations: 228.2 kB / 454.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.153e-05/0.182, allocations: 19.8 kB / 454.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.1821, allocations: 120.7 kB / 454.5 MB, free: 40.97 MB / 410.7 MB Notification: Performance of SimCode: time 1.773e-06/0.1821, allocations: 0 / 454.5 MB, free: 40.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.2043, allocations: 6.936 MB / 461.4 MB, free: 39.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/7.398, allocations: 6.594 kB / 461.4 MB, free: 39.3 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_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_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.467747263610363]