Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.001381/0.001381, allocations: 79.69 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.0009973/0.0009973, allocations: 170 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.8903/0.8903, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2548/0.2548, allocations: 32.79 MB / 293.5 MB, free: 1.234 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.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.399e-05, allocations: 4.109 kB / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002319/0.002343, allocations: 1.712 MB / 441.4 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.003508, allocations: 0.9742 MB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.383e-05/0.003592, allocations: 7.938 kB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.003883, allocations: 47.81 kB / 442.4 MB, free: 1.398 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.004198, allocations: 107.4 kB / 442.5 MB, free: 1.293 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.004407, allocations: 71.69 kB / 442.6 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.004579, allocations: 119.5 kB / 442.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.244e-05/0.004672, allocations: 4 kB / 442.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.466e-05/0.004756, allocations: 51.89 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.042e-05/0.004827, allocations: 23.91 kB / 442.8 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.004843, allocations: 7.938 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.267e-05/0.004925, allocations: 51.86 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.761e-05/0.004983, allocations: 31.91 kB / 442.9 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.005022, allocations: 27.86 kB / 442.9 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.005209, allocations: 127.5 kB / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.005212, allocations: 0 / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005213, allocations: 0 / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.005222, allocations: 0 / 443 MB, free: 0.7852 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004359/0.005657, allocations: 377.2 kB / 443.4 MB, free: 396 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.005694, allocations: 12.03 kB / 443.4 MB, free: 384 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.056e-05/0.005725, allocations: 42.67 kB / 443.4 MB, free: 332 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.00576, allocations: 20.84 kB / 443.5 MB, free: 312 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.005981, allocations: 146.5 kB / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.005994, allocations: 12.31 kB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.00601, allocations: 384 / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.00613, allocations: 61.98 kB / 443.7 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.006141, allocations: 0 / 443.7 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.006149, allocations: 0 / 443.7 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.006154, allocations: 0 / 443.7 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.961e-05/0.006214, allocations: 27.95 kB / 443.7 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1738/0.18, allocations: 264.3 kB / 444 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.1801, allocations: 56.66 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.1802, allocations: 26.16 kB / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.1802, allocations: 0 / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/0.1803, allocations: 67.98 kB / 444.1 MB, free: 46.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1803, allocations: 0.7188 kB / 444.1 MB, free: 46.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003929/0.1807, allocations: 196.2 kB / 444.3 MB, free: 46.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.1807, allocations: 53.09 kB / 444.4 MB, free: 46.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.1808, allocations: 278.4 kB / 444.6 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.1809, allocations: 29.58 kB / 444.7 MB, free: 46.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.1809, allocations: 113.7 kB / 444.8 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.1809, allocations: 26.61 kB / 444.8 MB, free: 45.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.1809, allocations: 25.41 kB / 444.8 MB, free: 45.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.363e-05/0.181, allocations: 328.4 kB / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.188e-05/0.181, allocations: 25.14 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.525e-05/0.181, allocations: 38.05 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.562e-05/0.1811, allocations: 63.55 kB / 445.3 MB, free: 45.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1811, allocations: 0 / 445.3 MB, free: 45.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.845e-05/0.1812, allocations: 112.7 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1812, allocations: 5.875 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1812, allocations: 2.75 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1812, allocations: 3.469 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.221e-05/0.1813, allocations: 16.53 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1813, allocations: 3.203 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.1813, allocations: 5.797 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1813, allocations: 6.234 kB / 445.4 MB, free: 45.52 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 (10): * Single equations (assignments): 10 * 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.736e-05/0.1814, allocations: 139.6 kB / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.1814, allocations: 21.23 kB / 445.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.1815, allocations: 131.5 kB / 445.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1815, allocations: 0 / 445.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1815, allocations: 0 / 445.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1816, allocations: 0 / 445.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.1818, allocations: 388.2 kB / 446.1 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1818, allocations: 0 / 446.1 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.895e-05/0.1818, allocations: 9.062 kB / 446.1 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1818, allocations: 0 / 446.1 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1818, allocations: 5.25 kB / 446.1 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1818, allocations: 1.375 kB / 446.1 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1818, allocations: 3.312 kB / 446.1 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.728e-05/0.1819, allocations: 218.7 kB / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.1819, allocations: 20.91 kB / 446.3 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.1819, allocations: 2.875 kB / 446.3 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.637e-05/0.182, allocations: 0 / 446.3 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.182, allocations: 6.141 kB / 446.3 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.182, allocations: 9.594 kB / 446.4 MB, free: 44.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.989e-05/0.1821, allocations: 206.3 kB / 446.6 MB, free: 44.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1821, allocations: 3.875 kB / 446.6 MB, free: 44.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.1823, allocations: 38.06 kB / 446.6 MB, free: 44.74 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: 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 (9): * Single equations (assignments): 7 * 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.0008521/0.1831, allocations: 1.151 MB / 447.7 MB, free: 43.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.1832, allocations: 54.84 kB / 447.8 MB, free: 43.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1832, allocations: 2.656 kB / 447.8 MB, free: 43.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.795e-05/0.1833, allocations: 31.27 kB / 447.8 MB, free: 43.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.1835, allocations: 24.33 kB / 447.9 MB, free: 43.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.1845, allocations: 1.857 MB / 449.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.576e-05/0.1845, allocations: 111.2 kB / 449.8 MB, free: 42.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.464e-05/0.1846, allocations: 17.09 kB / 449.8 MB, free: 42.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.1846, allocations: 44.7 kB / 449.9 MB, free: 42.44 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1846, allocations: 0 / 449.9 MB, free: 42.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.1987, allocations: 4.626 MB / 454.5 MB, free: 41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.125/7.324, allocations: 3.938 kB / 454.5 MB, free: 41 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.40669076051563]