Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.000834/0.000834, 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.001395/0.001395, 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.8981/0.8981, allocations: 177.1 MB / 204.3 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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.2472/0.2472, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 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.Test62,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 442.3 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.309e-05, allocations: 3.125 kB / 442.3 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.1751/0.1751, allocations: 1.661 MB / 443.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009979/0.1761, allocations: 0.9643 MB / 444.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.628e-05/0.1762, allocations: 3.938 kB / 444.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.1765, allocations: 52.67 kB / 444.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.1767, allocations: 99.95 kB / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.1768, allocations: 80.77 kB / 445.1 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.177, allocations: 101 kB / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.177, allocations: 9.453 kB / 445.2 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.268e-05/0.1771, allocations: 53.44 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.349e-05/0.1771, allocations: 25.41 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1772, allocations: 7.281 kB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.174e-05/0.1772, allocations: 35.62 kB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.1773, allocations: 28.22 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.1773, allocations: 21.06 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.1774, allocations: 117 kB / 445.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1775, allocations: 0 / 445.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1775, allocations: 0 / 445.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1775, allocations: 0.5625 kB / 445.5 MB, free: 42.95 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003637/0.1778, allocations: 371.6 kB / 445.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1779, allocations: 12.03 kB / 445.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.081e-05/0.1779, allocations: 34.69 kB / 445.9 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.1779, allocations: 14.75 kB / 445.9 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.1781, allocations: 159 kB / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1781, allocations: 3.562 kB / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.1781, allocations: 4.875 kB / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.714e-05/0.1782, allocations: 51.7 kB / 446.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1782, allocations: 2.281 kB / 446.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.1782, allocations: 0 / 446.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1782, allocations: 0 / 446.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.443e-05/0.1783, allocations: 19.77 kB / 446.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.1784, allocations: 164.8 kB / 446.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.862e-05/0.1785, allocations: 55.28 kB / 446.4 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.1785, allocations: 20.53 kB / 446.4 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.1785, allocations: 0 / 446.4 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.1786, allocations: 68.2 kB / 446.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1786, allocations: 3.938 kB / 446.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001788/0.1788, allocations: 101.7 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.1788, allocations: 52.03 kB / 446.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.179, allocations: 275.4 kB / 446.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.102e-06/0.179, allocations: 32.25 kB / 446.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.179, allocations: 114.3 kB / 447 MB, free: 41.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.1791, allocations: 17.81 kB / 447 MB, free: 41.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.1791, allocations: 23.91 kB / 447.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.006e-05/0.1791, allocations: 324.3 kB / 447.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.99e-05/0.1791, allocations: 16.84 kB / 447.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.1792, allocations: 29.72 kB / 447.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.657e-05/0.1792, allocations: 49.98 kB / 447.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1792, allocations: 2.781 kB / 447.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.34e-05/0.1793, allocations: 92.19 kB / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1793, allocations: 5.438 kB / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1793, allocations: 0 / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1793, allocations: 0 / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.391e-05/0.1794, allocations: 17.53 kB / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1794, allocations: 0 / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/0.1794, allocations: 3.969 kB / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.1794, allocations: 10.66 kB / 447.6 MB, free: 41.4 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 (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 5.159e-05/0.1795, allocations: 130.6 kB / 447.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.1795, allocations: 20.38 kB / 447.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.1796, allocations: 108.6 kB / 447.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1796, allocations: 2.594 kB / 447.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1796, allocations: 0 / 447.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1796, allocations: 0 / 447.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.915e-05/0.1797, allocations: 170.9 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1797, allocations: 3.188 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.1797, allocations: 3.031 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1797, allocations: 9.531 kB / 448.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.1797, allocations: 3.031 kB / 448.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1797, allocations: 3.281 kB / 448.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1797, allocations: 0 / 448.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.257e-05/0.1798, allocations: 117.9 kB / 448.2 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.1798, allocations: 20.84 kB / 448.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.1798, allocations: 3.188 kB / 448.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.1799, allocations: 2.562 kB / 448.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.1799, allocations: 5.953 kB / 448.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.1799, allocations: 2.625 kB / 448.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.641e-05/0.18, allocations: 210.3 kB / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.18, allocations: 0 / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001531/0.1801, allocations: 24.53 kB / 448.4 MB, free: 40.88 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: 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 (6): * Single equations (assignments): 4 * 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.000753/0.1809, allocations: 0.9929 MB / 449.4 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.181, allocations: 44.59 kB / 449.5 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.181, allocations: 0 / 449.5 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.111e-05/0.181, allocations: 18.83 kB / 449.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.1812, allocations: 33.44 kB / 449.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009249/0.1821, allocations: 1.704 MB / 451.2 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.703e-05/0.1822, allocations: 101.3 kB / 451.3 MB, free: 38.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.867e-05/0.1822, allocations: 12.64 kB / 451.3 MB, free: 38.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.1823, allocations: 41.12 kB / 451.4 MB, free: 38.77 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1823, allocations: 0 / 451.4 MB, free: 38.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.1964, allocations: 4.318 MB / 455.7 MB, free: 37.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.89/7.086, allocations: 15.11 kB / 455.7 MB, free: 37.36 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.197642272338271]