Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001735/0.001735, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002149/0.002149, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.495/1.495, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.2334/0.2334, allocations: 44.9 MB / 355.1 MB, free: 12.33 MB / 286.1 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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002982/0.002982, allocations: 67.89 kB / 499.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1601, allocations: 65.43 MB / 0.5518 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.004674/0.1648, allocations: 1.725 MB / 0.5535 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.1672, allocations: 1.03 MB / 0.5545 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.61e-05/0.1673, allocations: 3.938 kB / 0.5545 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.1677, allocations: 43.77 kB / 0.5546 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004339/0.1681, allocations: 103.5 kB / 0.5547 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.1684, allocations: 71.73 kB / 0.5548 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.1687, allocations: 103.7 kB / 0.5549 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.1688, allocations: 16.27 kB / 0.5549 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.169, allocations: 43.73 kB / 0.5549 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1691, allocations: 35.83 kB / 0.5549 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.1691, allocations: 4 kB / 0.5549 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.1693, allocations: 43.98 kB / 0.555 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.27e-05/0.1693, allocations: 23.86 kB / 0.555 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.365e-05/0.1694, allocations: 35.73 kB / 0.555 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.1697, allocations: 119.5 kB / 0.5552 GB, free: 6.633 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1697, allocations: 3.938 kB / 0.5552 GB, free: 6.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1697, allocations: 0 / 0.5552 GB, free: 6.629 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.1698, allocations: 0 / 0.5552 GB, free: 6.629 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.0009043/0.1707, allocations: 426.6 kB / 0.5556 GB, free: 6.164 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.1707, allocations: 8.031 kB / 0.5556 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.474e-05/0.1708, allocations: 34.75 kB / 0.5556 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.56e-05/0.1708, allocations: 16.88 kB / 0.5556 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.1713, allocations: 215.1 kB / 0.5558 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.1713, allocations: 4.375 kB / 0.5558 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.1713, allocations: 11.94 kB / 0.5558 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.1715, allocations: 49.67 kB / 0.5559 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1715, allocations: 0 / 0.5559 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1715, allocations: 4 kB / 0.5559 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1715, allocations: 3.938 kB / 0.5559 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1716, allocations: 19.98 kB / 0.5559 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.1722, allocations: 288.8 kB / 0.5562 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.1724, allocations: 66.67 kB / 0.5563 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.04e-05/0.1725, allocations: 12.86 kB / 0.5563 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.845e-05/0.1726, allocations: 4 kB / 0.5563 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.1728, allocations: 63.33 kB / 0.5563 GB, free: 5.254 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.1728, allocations: 4 kB / 0.5563 GB, free: 5.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008108/0.1736, allocations: 185.3 kB / 0.5565 GB, free: 5.062 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.1737, allocations: 55.34 kB / 0.5566 GB, free: 4.996 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.174, allocations: 194.3 kB / 0.5568 GB, free: 4.797 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.174, allocations: 33.7 kB / 0.5568 GB, free: 4.758 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.1741, allocations: 100.1 kB / 0.5569 GB, free: 4.656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.1741, allocations: 23.84 kB / 0.5569 GB, free: 4.633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/0.1742, allocations: 21.72 kB / 0.5569 GB, free: 4.605 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002675/0.1745, allocations: 326.8 kB / 0.5572 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.171e-05/0.1746, allocations: 19.98 kB / 0.5573 GB, free: 4.258 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.1747, allocations: 37.7 kB / 0.5573 GB, free: 4.215 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.1749, allocations: 61.64 kB / 0.5574 GB, free: 4.148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1749, allocations: 0 / 0.5574 GB, free: 4.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000319/0.1752, allocations: 105.6 kB / 0.5575 GB, free: 4.039 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1752, allocations: 4 kB / 0.5575 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1752, allocations: 0 / 0.5575 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.1753, allocations: 0 / 0.5575 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.1754, allocations: 27.92 kB / 0.5575 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1754, allocations: 0 / 0.5575 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.162e-05/0.1755, allocations: 3.938 kB / 0.5575 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1755, allocations: 4 kB / 0.5575 GB, free: 4 MB / 414.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.0001618/0.1757, allocations: 128 kB / 0.5576 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.1757, allocations: 19.94 kB / 0.5576 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.812e-05/0.1758, allocations: 13.41 kB / 0.5576 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.1758, allocations: 3.984 kB / 0.5576 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1758, allocations: 4 kB / 0.5577 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.1758, allocations: 3.938 kB / 0.5577 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007213/0.1765, allocations: 395.2 kB / 0.558 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.1765, allocations: 4 kB / 0.558 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.111e-05/0.1766, allocations: 8.188 kB / 0.558 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1766, allocations: 7.969 kB / 0.5581 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1766, allocations: 4.312 kB / 0.5581 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.1766, allocations: 3.984 kB / 0.5581 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.1766, allocations: 12.17 kB / 0.5581 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.177, allocations: 204.3 kB / 0.5583 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.592e-05/0.1771, allocations: 85.02 kB / 0.5583 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.1771, allocations: 7.938 kB / 0.5584 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.1772, allocations: 8 kB / 0.5584 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.1773, allocations: 7.984 kB / 0.5584 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.1773, allocations: 4 kB / 0.5584 GB, free: 2.984 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002058/0.1775, allocations: 148.2 kB / 0.5585 GB, free: 2.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1775, allocations: 0 / 0.5585 GB, free: 2.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004875/0.178, allocations: 20 kB / 0.5585 GB, free: 2.82 MB / 414.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.003237/0.1812, allocations: 1.103 MB / 0.5596 GB, free: 1.879 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.1815, allocations: 55.92 kB / 0.5597 GB, free: 1.824 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1815, allocations: 0 / 0.5597 GB, free: 1.824 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.1816, allocations: 27.98 kB / 0.5597 GB, free: 1.797 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.1822, allocations: 28.8 kB / 0.5597 GB, free: 1.773 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.185, allocations: 1.662 MB / 0.5613 GB, free: 16 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.1855, allocations: 0.7118 MB / 0.562 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.749e-05/0.1856, allocations: 16.86 kB / 0.5621 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.466e-05/0.1857, allocations: 35.42 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1857, allocations: 0 / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/0.2151, allocations: 3.485 MB / 0.5655 GB, free: 11.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.948/8.163, allocations: 0 / 0.5655 GB, free: 11.8 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.400919883977622]