Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001764/0.001764, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.002333/0.002333, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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 1.454/1.454, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.2342/0.2342, allocations: 46.92 MB / 357.1 MB, free: 10.35 MB / 286.1 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.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002671/0.002671, allocations: 71.89 kB / 0.491 GB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1627, allocations: 65.98 MB / 0.5554 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003099/0.1658, allocations: 1.741 MB / 0.5571 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.1675, allocations: 1.038 MB / 0.5582 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.924e-05/0.1676, allocations: 3.938 kB / 0.5582 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.1679, allocations: 51.8 kB / 0.5582 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.1682, allocations: 103.5 kB / 0.5583 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.1684, allocations: 79.66 kB / 0.5584 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.1685, allocations: 107.7 kB / 0.5585 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.371e-05/0.1686, allocations: 8 kB / 0.5585 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.21e-05/0.1687, allocations: 43.78 kB / 0.5585 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.554e-05/0.1688, allocations: 39.78 kB / 0.5586 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1688, allocations: 4 kB / 0.5586 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.123e-05/0.1689, allocations: 43.98 kB / 0.5586 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.169, allocations: 31.84 kB / 0.5587 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.169, allocations: 43.67 kB / 0.5587 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.1692, allocations: 131.4 kB / 0.5588 GB, free: 2.332 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1692, allocations: 0 / 0.5588 GB, free: 2.332 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1692, allocations: 0 / 0.5588 GB, free: 2.332 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1692, allocations: 0 / 0.5588 GB, free: 2.332 MB / 414.1 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.0006005/0.1698, allocations: 462.3 kB / 0.5593 GB, free: 1.832 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1699, allocations: 8.031 kB / 0.5593 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.1699, allocations: 34.75 kB / 0.5593 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.17, allocations: 16.84 kB / 0.5593 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.1703, allocations: 217.1 kB / 0.5595 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.1703, allocations: 12.3 kB / 0.5595 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.1703, allocations: 11.94 kB / 0.5596 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1704, allocations: 49.67 kB / 0.5596 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1704, allocations: 3.938 kB / 0.5596 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.1705, allocations: 4 kB / 0.5596 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1705, allocations: 0 / 0.5596 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.454e-05/0.1705, allocations: 19.98 kB / 0.5596 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.1709, allocations: 300.8 kB / 0.5599 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.1711, allocations: 62.59 kB / 0.56 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.803e-05/0.1711, allocations: 20.84 kB / 0.56 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.1712, allocations: 0 / 0.56 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.1713, allocations: 67.39 kB / 0.5601 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1713, allocations: 4 kB / 0.5601 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005363/0.1718, allocations: 185.6 kB / 0.5602 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.1719, allocations: 55.41 kB / 0.5603 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.1722, allocations: 274.7 kB / 0.5606 GB, free: 360 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.1722, allocations: 29.7 kB / 0.5606 GB, free: 324 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.1723, allocations: 108.1 kB / 0.5607 GB, free: 212 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.1723, allocations: 31.72 kB / 0.5607 GB, free: 180 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.1723, allocations: 21.72 kB / 0.5607 GB, free: 152 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1725, allocations: 330.8 kB / 0.5611 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.106e-05/0.1726, allocations: 23.98 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.84e-05/0.1726, allocations: 37.64 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.1728, allocations: 61.77 kB / 0.5612 GB, free: 15.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1728, allocations: 0 / 0.5612 GB, free: 15.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002161/0.173, allocations: 117.5 kB / 0.5613 GB, free: 15.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.173, allocations: 5.875 kB / 0.5613 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.173, allocations: 0 / 0.5613 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.173, allocations: 4 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.1731, allocations: 15.98 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1731, allocations: 0 / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.924e-05/0.1731, allocations: 7.938 kB / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.1732, allocations: 0 / 0.5613 GB, free: 15.53 MB / 430.1 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 0.0001152/0.1733, allocations: 136 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.1733, allocations: 23.88 kB / 0.5615 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.98e-05/0.1734, allocations: 25.39 kB / 0.5615 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1734, allocations: 192 / 0.5615 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1734, allocations: 0 / 0.5615 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.1734, allocations: 7.875 kB / 0.5615 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004762/0.1738, allocations: 403.3 kB / 0.5619 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1738, allocations: 0 / 0.5619 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.1739, allocations: 11.98 kB / 0.5619 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1739, allocations: 7.969 kB / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.1739, allocations: 0 / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1739, allocations: 4.234 kB / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1739, allocations: 0 / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.1742, allocations: 208.3 kB / 0.5621 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.1742, allocations: 89.02 kB / 0.5622 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.1743, allocations: 11.92 kB / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.1743, allocations: 7.938 kB / 0.5622 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.1744, allocations: 8 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.1744, allocations: 11.92 kB / 0.5622 GB, free: 14.49 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001953/0.1746, allocations: 200.6 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1746, allocations: 0 / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.1748, allocations: 23.94 kB / 0.5624 GB, free: 14.27 MB / 430.1 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 (8): * Single equations (assignments): 6 * 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.002175/0.177, allocations: 1.086 MB / 0.5635 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.1772, allocations: 67.89 kB / 0.5636 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1772, allocations: 0 / 0.5636 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.842e-05/0.1773, allocations: 23.94 kB / 0.5636 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.1776, allocations: 39.08 kB / 0.5636 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.1797, allocations: 1.844 MB / 0.5654 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.1801, allocations: 0.7196 MB / 0.5661 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.301e-05/0.1802, allocations: 16.86 kB / 0.5661 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-05/0.1802, allocations: 43.42 kB / 0.5662 GB, free: 10.48 MB / 430.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1802, allocations: 0 / 0.5662 GB, free: 10.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.2037, allocations: 3.819 MB / 0.5699 GB, free: 6.719 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.206, allocations: 5 kB / 0.5699 GB, free: 6.715 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.CombiTimeTable.Test48_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.362932977004675]