Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008457/0.0008457, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001018/0.001018, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8898/0.8898, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 34.24 MB / 294.8 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 3.938 kB / 442.2 MB, free: 1.465 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.826e-05, allocations: 2.281 kB / 442.2 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.1699/0.1699, allocations: 1.772 MB / 444 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.1718, allocations: 1.75 MB / 445.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.031e-05/0.1719, allocations: 0 / 445.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.1721, allocations: 51.81 kB / 445.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.1725, allocations: 150.8 kB / 446 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.1726, allocations: 102.5 kB / 446.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.1728, allocations: 215.5 kB / 446.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.809e-05/0.1728, allocations: 4.719 kB / 446.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1729, allocations: 111.9 kB / 446.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.173, allocations: 62.67 kB / 446.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.1731, allocations: 8.781 kB / 446.5 MB, free: 42.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1732, allocations: 110.3 kB / 446.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.682e-05/0.1733, allocations: 46.92 kB / 446.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.1733, allocations: 36.97 kB / 446.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.1736, allocations: 235.8 kB / 446.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1736, allocations: 0 / 446.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1736, allocations: 0 / 446.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1736, allocations: 0 / 446.9 MB, free: 42.25 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.0005278/0.1741, allocations: 424.2 kB / 447.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1742, allocations: 10.59 kB / 447.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.812e-05/0.1742, allocations: 30.75 kB / 447.3 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.1742, allocations: 25.33 kB / 447.4 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.1745, allocations: 192.7 kB / 447.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1745, allocations: 7 kB / 447.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.1745, allocations: 11.52 kB / 447.6 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.1746, allocations: 149.5 kB / 447.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1747, allocations: 2.969 kB / 447.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.1747, allocations: 8.125 kB / 447.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1747, allocations: 0 / 447.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.955e-05/0.1747, allocations: 38.53 kB / 447.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.1749, allocations: 179.6 kB / 447.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.175, allocations: 108.7 kB / 448 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.655e-05/0.175, allocations: 38.64 kB / 448.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.1751, allocations: 5.688 kB / 448.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.1752, allocations: 119.3 kB / 448.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 8.21e-07/0.1752, allocations: 0 / 448.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002706/0.1755, allocations: 183.8 kB / 448.4 MB, free: 41.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.1755, allocations: 129.1 kB / 448.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1756, allocations: 251.2 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.724e-06/0.1756, allocations: 28.58 kB / 448.8 MB, free: 40.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.1757, allocations: 120.5 kB / 448.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.1757, allocations: 25.23 kB / 448.9 MB, free: 40.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.1757, allocations: 29.55 kB / 448.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.284e-05/0.1758, allocations: 331 kB / 449.3 MB, free: 40.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/0.1758, allocations: 32.02 kB / 449.3 MB, free: 40.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-05/0.1759, allocations: 122.2 kB / 449.4 MB, free: 40.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.981e-05/0.1759, allocations: 97.23 kB / 449.5 MB, free: 40.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.176, allocations: 0 / 449.5 MB, free: 40.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000136/0.1761, allocations: 144.5 kB / 449.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.1761, allocations: 5.875 kB / 449.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1761, allocations: 3.938 kB / 449.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1761, allocations: 6.844 kB / 449.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.464e-05/0.1762, allocations: 20.84 kB / 449.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1762, allocations: 3.469 kB / 449.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.019e-05/0.1762, allocations: 18.19 kB / 449.7 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1763, allocations: 13.81 kB / 449.7 MB, free: 39.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.908e-05/0.1763, allocations: 132.6 kB / 449.9 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.1763, allocations: 16.59 kB / 449.9 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.1765, allocations: 160.7 kB / 450 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1765, allocations: 3.656 kB / 450 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1765, allocations: 3.25 kB / 450 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1765, allocations: 3.125 kB / 450 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.312e-05/0.1766, allocations: 184.4 kB / 450.2 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1766, allocations: 7.938 kB / 450.2 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.19e-05/0.1766, allocations: 14.88 kB / 450.2 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.1766, allocations: 0 / 450.2 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1766, allocations: 6.844 kB / 450.2 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1766, allocations: 0 / 450.2 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.1766, allocations: 1.594 kB / 450.2 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.1768, allocations: 180.6 kB / 450.4 MB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.1768, allocations: 17.59 kB / 450.4 MB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.1768, allocations: 7.266 kB / 450.5 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.578e-05/0.1768, allocations: 17.66 kB / 450.5 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.1769, allocations: 12.97 kB / 450.5 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.1769, allocations: 5.531 kB / 450.5 MB, free: 39.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.225e-05/0.177, allocations: 186.1 kB / 450.7 MB, free: 39.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.177, allocations: 0 / 450.7 MB, free: 39.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001849/0.1772, allocations: 54.72 kB / 450.7 MB, free: 39.3 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008899/0.1781, allocations: 1.159 MB / 451.9 MB, free: 38.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.1782, allocations: 92.27 kB / 452 MB, free: 38.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.1782, allocations: 0 / 452 MB, free: 38.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.157e-05/0.1783, allocations: 41.8 kB / 452 MB, free: 38.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.1785, allocations: 59.14 kB / 452.1 MB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.1796, allocations: 1.916 MB / 454 MB, free: 37.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.5e-05/0.1796, allocations: 110.5 kB / 454.1 MB, free: 36.97 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.092e-05/0.1797, allocations: 31.81 kB / 454.1 MB, free: 36.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.1798, allocations: 64.64 kB / 454.2 MB, free: 36.93 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.1798, allocations: 0 / 454.2 MB, free: 36.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.1964, allocations: 6.359 MB / 460.5 MB, free: 35.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.142/7.339, allocations: 10.64 kB / 460.6 MB, free: 35.2 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.387632617726922]