Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.001715/0.001715, allocations: 124.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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001995/0.001995, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 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 1.532/1.532, allocations: 230.4 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] 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.2347/0.2347, allocations: 46.91 MB / 357 MB, free: 10.2 MB / 286.1 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.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003973/0.003973, allocations: 79.88 kB / 0.4911 GB, free: 7.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1793, allocations: 66.04 MB / 0.5555 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003563/0.1828, allocations: 1.736 MB / 0.5572 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.1847, allocations: 1.038 MB / 0.5583 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.09e-05/0.1848, allocations: 0 / 0.5583 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003298/0.1851, allocations: 47.75 kB / 0.5583 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.1854, allocations: 95.59 kB / 0.5584 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.1856, allocations: 79.69 kB / 0.5585 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.1858, allocations: 107.6 kB / 0.5586 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1859, allocations: 8 kB / 0.5586 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1861, allocations: 51.78 kB / 0.5586 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.726e-05/0.1861, allocations: 31.83 kB / 0.5587 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1861, allocations: 4 kB / 0.5587 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.1862, allocations: 40 kB / 0.5587 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.896e-05/0.1863, allocations: 27.84 kB / 0.5587 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.1864, allocations: 35.69 kB / 0.5588 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.1866, allocations: 123.5 kB / 0.5589 GB, free: 2.023 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1866, allocations: 0 / 0.5589 GB, free: 2.023 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1866, allocations: 4 kB / 0.5589 GB, free: 2.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1866, allocations: 0 / 0.5589 GB, free: 2.02 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.0006157/0.1872, allocations: 430.6 kB / 0.5593 GB, free: 1.551 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1873, allocations: 12.03 kB / 0.5593 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.44e-05/0.1873, allocations: 38.73 kB / 0.5593 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.1874, allocations: 8.891 kB / 0.5594 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.1877, allocations: 220.1 kB / 0.5596 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1877, allocations: 4.375 kB / 0.5596 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.1877, allocations: 4.375 kB / 0.5596 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1879, allocations: 57.8 kB / 0.5596 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1879, allocations: 4 kB / 0.5596 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1879, allocations: 0 / 0.5596 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1879, allocations: 0 / 0.5596 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.64e-05/0.188, allocations: 19.98 kB / 0.5596 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.1884, allocations: 292.8 kB / 0.5599 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.1886, allocations: 66.55 kB / 0.56 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.723e-05/0.1887, allocations: 16.86 kB / 0.56 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.1887, allocations: 0 / 0.56 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.1888, allocations: 67.38 kB / 0.5601 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1888, allocations: 0 / 0.5601 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000575/0.1894, allocations: 185.3 kB / 0.5602 GB, free: 452 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.1895, allocations: 51.41 kB / 0.5603 GB, free: 388 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.1897, allocations: 210.1 kB / 0.5605 GB, free: 168 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.1897, allocations: 29.7 kB / 0.5605 GB, free: 132 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.1898, allocations: 104.1 kB / 0.5606 GB, free: 24 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.1898, allocations: 19.86 kB / 0.5606 GB, free: 4 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.917e-05/0.1899, allocations: 29.72 kB / 0.5607 GB, free: 15.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1901, allocations: 330.8 kB / 0.561 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.476e-05/0.1901, allocations: 16 kB / 0.561 GB, free: 15.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.716e-05/0.1902, allocations: 37.7 kB / 0.561 GB, free: 15.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.1903, allocations: 57.7 kB / 0.5611 GB, free: 15.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1903, allocations: 0 / 0.5611 GB, free: 15.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002002/0.1905, allocations: 109.4 kB / 0.5612 GB, free: 15.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1906, allocations: 7.938 kB / 0.5612 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1906, allocations: 4.031 kB / 0.5612 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1906, allocations: 4 kB / 0.5612 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.681e-05/0.1907, allocations: 16.38 kB / 0.5612 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.527e-06/0.1907, allocations: 8.078 kB / 0.5612 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.69e-05/0.1907, allocations: 7.984 kB / 0.5612 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.1907, allocations: 4 kB / 0.5612 GB, free: 15.35 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.0001281/0.1909, allocations: 133.8 kB / 0.5614 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.1909, allocations: 11.91 kB / 0.5614 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.1909, allocations: 25.39 kB / 0.5614 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1909, allocations: 0 / 0.5614 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1909, allocations: 0 / 0.5614 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1909, allocations: 0 / 0.5614 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.1915, allocations: 399.2 kB / 0.5618 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1915, allocations: 4 kB / 0.5618 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.044e-05/0.1915, allocations: 4 kB / 0.5618 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1915, allocations: 4 kB / 0.5618 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1915, allocations: 0 / 0.5618 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1915, allocations: 8.156 kB / 0.5618 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.1915, allocations: 4 kB / 0.5618 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.1918, allocations: 212.2 kB / 0.562 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.1919, allocations: 85.06 kB / 0.5621 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.1919, allocations: 4 kB / 0.5621 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.1919, allocations: 3.938 kB / 0.5621 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.192, allocations: 11.98 kB / 0.5621 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.192, allocations: 4 kB / 0.5621 GB, free: 14.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.1922, allocations: 164.3 kB / 0.5623 GB, free: 14.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1922, allocations: 0 / 0.5623 GB, free: 14.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1924, allocations: 19.94 kB / 0.5623 GB, free: 14.16 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.002207/0.1946, allocations: 1.095 MB / 0.5634 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.1948, allocations: 59.84 kB / 0.5634 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1948, allocations: 4.062 kB / 0.5634 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.268e-05/0.1949, allocations: 20 kB / 0.5634 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.1953, allocations: 36.2 kB / 0.5635 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.1973, allocations: 1.693 MB / 0.5651 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.1977, allocations: 0.7119 MB / 0.5658 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.606e-05/0.1978, allocations: 20.48 kB / 0.5658 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/0.1979, allocations: 35.42 kB / 0.5659 GB, free: 10.51 MB / 430.1 MB Notification: Performance of SimCode: time 5.1e-07/0.1979, allocations: 0 / 0.5659 GB, free: 10.51 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.2275, allocations: 3.514 MB / 0.5693 GB, free: 7.055 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/7.999, allocations: 14.81 kB / 0.5693 GB, free: 7.043 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.363696636050008]