Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.0009529/0.0009529, 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.0008784/0.0008784, allocations: 170.3 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.8791/0.8791, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2377/0.2377, allocations: 32.79 MB / 293.5 MB, free: 1.211 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.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.837e-05, allocations: 2.281 kB / 439.7 MB, free: 4.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.00235/0.002368, allocations: 1.727 MB / 441.4 MB, free: 2.406 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.003419, allocations: 0.9762 MB / 442.4 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.584e-05/0.003485, allocations: 7.938 kB / 442.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.00376, allocations: 87.62 kB / 442.5 MB, free: 1.332 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.004009, allocations: 119.4 kB / 442.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001365/0.004146, allocations: 79.66 kB / 442.7 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.004294, allocations: 127.5 kB / 442.8 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.004383, allocations: 7.984 kB / 442.8 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.054e-05/0.004464, allocations: 67.81 kB / 442.9 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.748e-05/0.004551, allocations: 55.88 kB / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.004567, allocations: 4 kB / 442.9 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.532e-05/0.004652, allocations: 67.84 kB / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.004706, allocations: 27.91 kB / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.004739, allocations: 19.88 kB / 443 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.004915, allocations: 139.5 kB / 443.2 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.004917, allocations: 4 kB / 443.2 MB, free: 0.625 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.004918, allocations: 0 / 443.2 MB, free: 0.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.004921, allocations: 0 / 443.2 MB, free: 0.625 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.0003961/0.005318, allocations: 365.4 kB / 443.5 MB, free: 244 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.005351, allocations: 12.03 kB / 443.6 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.778e-05/0.005379, allocations: 30.75 kB / 443.6 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.005409, allocations: 16.84 kB / 443.6 MB, free: 176 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1636/0.169, allocations: 155.2 kB / 443.8 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.169, allocations: 6.812 kB / 443.8 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.1691, allocations: 384 / 443.8 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1692, allocations: 62.48 kB / 443.8 MB, free: 46.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1692, allocations: 4.938 kB / 443.8 MB, free: 46.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1692, allocations: 0 / 443.8 MB, free: 46.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1693, allocations: 0 / 443.8 MB, free: 46.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.29e-05/0.1693, allocations: 28.95 kB / 443.9 MB, free: 46.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.1697, allocations: 271.3 kB / 444.1 MB, free: 46.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.1699, allocations: 65.52 kB / 444.2 MB, free: 46.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.1699, allocations: 21.52 kB / 444.2 MB, free: 46.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.1699, allocations: 2.656 kB / 444.2 MB, free: 46.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.1701, allocations: 69.55 kB / 444.3 MB, free: 46.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.634e-06/0.1701, allocations: 0 / 444.3 MB, free: 46.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005811/0.1706, allocations: 253.9 kB / 444.5 MB, free: 46.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.1707, allocations: 57.44 kB / 444.6 MB, free: 46.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.1708, allocations: 229.4 kB / 444.8 MB, free: 45.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.1708, allocations: 34.11 kB / 444.8 MB, free: 45.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.1708, allocations: 109.3 kB / 444.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.1709, allocations: 34.66 kB / 445 MB, free: 45.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.1709, allocations: 25.53 kB / 445 MB, free: 45.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.776e-05/0.1709, allocations: 330 kB / 445.3 MB, free: 45.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.841e-05/0.171, allocations: 32.89 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.098e-05/0.171, allocations: 46.3 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.335e-05/0.1711, allocations: 82.53 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1711, allocations: 2.781 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001135/0.1712, allocations: 139.2 kB / 445.6 MB, free: 45.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1712, allocations: 5.562 kB / 445.6 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1712, allocations: 3.688 kB / 445.6 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1712, allocations: 3 kB / 445.6 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.654e-05/0.1713, allocations: 24.36 kB / 445.7 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.1713, allocations: 0 / 445.7 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.615e-05/0.1713, allocations: 2.969 kB / 445.7 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1713, allocations: 6.938 kB / 445.7 MB, free: 45.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.321e-05/0.1713, allocations: 131.8 kB / 445.8 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.1714, allocations: 21.11 kB / 445.8 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.1715, allocations: 157.2 kB / 446 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1715, allocations: 0 / 446 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1715, allocations: 5.906 kB / 446 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1715, allocations: 3.234 kB / 446 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.1718, allocations: 419.8 kB / 446.4 MB, free: 44.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1718, allocations: 2.938 kB / 446.4 MB, free: 44.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.1718, allocations: 18.86 kB / 446.4 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1718, allocations: 2.938 kB / 446.4 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1718, allocations: 6.344 kB / 446.4 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1718, allocations: 2.906 kB / 446.4 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1718, allocations: 0 / 446.4 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.1719, allocations: 245.6 kB / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.172, allocations: 17.22 kB / 446.7 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.172, allocations: 6.875 kB / 446.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.837e-05/0.172, allocations: 6.906 kB / 446.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.172, allocations: 12.98 kB / 446.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.172, allocations: 9.844 kB / 446.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.737e-05/0.1721, allocations: 169 kB / 446.9 MB, free: 44.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1721, allocations: 2.906 kB / 446.9 MB, free: 44.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001721/0.1723, allocations: 32.14 kB / 446.9 MB, free: 44.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009663/0.1733, allocations: 1.226 MB / 448.1 MB, free: 43.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.1734, allocations: 90.19 kB / 448.2 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.1734, allocations: 0 / 448.2 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.686e-05/0.1734, allocations: 37.84 kB / 448.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.1737, allocations: 32.77 kB / 448.3 MB, free: 43.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.1747, allocations: 1.822 MB / 450.1 MB, free: 42.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.464e-05/0.1748, allocations: 110.1 kB / 450.2 MB, free: 42.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.012e-05/0.1748, allocations: 15.31 kB / 450.2 MB, free: 42.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.198e-05/0.1749, allocations: 43.89 kB / 450.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1749, allocations: 0 / 450.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01442/0.1893, allocations: 4.731 MB / 455 MB, free: 40.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.165/7.355, allocations: 6.344 kB / 455 MB, free: 40.69 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.CombiTimeTable.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.379753032699227]