Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.00123/0.00123, 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.001138/0.001138, 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.9177/0.9177, allocations: 177.1 MB / 204.3 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] 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.2561/0.2561, allocations: 32.79 MB / 293.5 MB, free: 1.211 MB / 266.7 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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.238e-05, allocations: 2.281 kB / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002972/0.002995, allocations: 1.906 MB / 441.6 MB, free: 2.234 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.004339, allocations: 1.017 MB / 442.6 MB, free: 1.211 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.004466, allocations: 3.938 kB / 442.6 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003627/0.004829, allocations: 39.77 kB / 442.6 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003162/0.005145, allocations: 103.4 kB / 442.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.005336, allocations: 95.59 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.005518, allocations: 143.5 kB / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.005627, allocations: 29.67 kB / 443 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.922e-05/0.005726, allocations: 79.73 kB / 443.1 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.292e-05/0.005809, allocations: 35.89 kB / 443.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.005827, allocations: 12 kB / 443.1 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.649e-05/0.005904, allocations: 43.98 kB / 443.2 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.005958, allocations: 31.84 kB / 443.2 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.006007, allocations: 31.86 kB / 443.2 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.006202, allocations: 155.4 kB / 443.4 MB, free: 432 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.006206, allocations: 0 / 443.4 MB, free: 432 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.006207, allocations: 0 / 443.4 MB, free: 432 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.006211, allocations: 0 / 443.4 MB, free: 432 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.1802/0.1864, allocations: 407.3 kB / 443.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1864, allocations: 11.47 kB / 443.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.1865, allocations: 40.52 kB / 443.8 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.24e-05/0.1865, allocations: 20.48 kB / 443.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.1868, allocations: 170 kB / 444 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1868, allocations: 3.938 kB / 444 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.1869, allocations: 8.719 kB / 444 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.1871, allocations: 143 kB / 444.2 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.1871, allocations: 0 / 444.2 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1871, allocations: 2.188 kB / 444.2 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1871, allocations: 2.875 kB / 444.2 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.669e-05/0.1872, allocations: 52.34 kB / 444.2 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.1876, allocations: 479.8 kB / 444.7 MB, free: 45.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.1879, allocations: 87.39 kB / 444.8 MB, free: 45.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.375e-05/0.1879, allocations: 42.05 kB / 444.8 MB, free: 45.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.188, allocations: 3.844 kB / 444.8 MB, free: 45.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.1881, allocations: 111 kB / 444.9 MB, free: 45.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.734e-06/0.1881, allocations: 0 / 444.9 MB, free: 45.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002951/0.1884, allocations: 149.2 kB / 445.1 MB, free: 45.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.1885, allocations: 54.84 kB / 445.1 MB, free: 45.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1886, allocations: 204.7 kB / 445.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.1886, allocations: 29.58 kB / 445.4 MB, free: 45.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.1886, allocations: 119.6 kB / 445.5 MB, free: 45.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.1887, allocations: 34.89 kB / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.1887, allocations: 31.2 kB / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.807e-05/0.1887, allocations: 322.6 kB / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.377e-05/0.1888, allocations: 31.8 kB / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.334e-05/0.1888, allocations: 70.83 kB / 445.9 MB, free: 45.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.1889, allocations: 97.88 kB / 446 MB, free: 45.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.189, allocations: 0 / 446 MB, free: 45.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000151/0.1891, allocations: 149.4 kB / 446.2 MB, free: 44.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1891, allocations: 7.438 kB / 446.2 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1891, allocations: 0 / 446.2 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1891, allocations: 2.938 kB / 446.2 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.108e-05/0.1892, allocations: 27.52 kB / 446.2 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1892, allocations: 6.094 kB / 446.2 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.578e-05/0.1892, allocations: 8.328 kB / 446.2 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1893, allocations: 6.875 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.561e-05/0.1893, allocations: 132 kB / 446.4 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.1893, allocations: 20.41 kB / 446.4 MB, free: 44.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.1895, allocations: 130.9 kB / 446.5 MB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1895, allocations: 0 / 446.5 MB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1895, allocations: 0 / 446.5 MB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1895, allocations: 2.812 kB / 446.5 MB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.96e-05/0.1896, allocations: 184 kB / 446.7 MB, free: 44.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1896, allocations: 0 / 446.7 MB, free: 44.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.024e-05/0.1896, allocations: 19.02 kB / 446.7 MB, free: 44.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1896, allocations: 2.281 kB / 446.7 MB, free: 44.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1897, allocations: 4.938 kB / 446.7 MB, free: 44.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1897, allocations: 0 / 446.7 MB, free: 44.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1897, allocations: 0 / 446.7 MB, free: 44.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.1899, allocations: 198.9 kB / 446.9 MB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.579e-05/0.1899, allocations: 20.16 kB / 446.9 MB, free: 44.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.1899, allocations: 7.047 kB / 447 MB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.809e-05/0.1899, allocations: 5.844 kB / 447 MB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.19, allocations: 6.344 kB / 447 MB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.19, allocations: 10.34 kB / 447 MB, free: 44.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.898e-05/0.19, allocations: 140.7 kB / 447.1 MB, free: 44.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.19, allocations: 0 / 447.1 MB, free: 44.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001616/0.1902, allocations: 35.53 kB / 447.1 MB, free: 44.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0009287/0.1911, allocations: 1.067 MB / 448.2 MB, free: 43.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.1913, allocations: 84.73 kB / 448.3 MB, free: 43.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1913, allocations: 0 / 448.3 MB, free: 43.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.605e-05/0.1913, allocations: 39.16 kB / 448.3 MB, free: 43.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.1916, allocations: 40.39 kB / 448.4 MB, free: 43.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.1926, allocations: 1.773 MB / 450.1 MB, free: 42.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.226e-05/0.1927, allocations: 98.92 kB / 450.2 MB, free: 42.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.05e-05/0.1927, allocations: 22.47 kB / 450.3 MB, free: 42.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.1928, allocations: 40.38 kB / 450.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1928, allocations: 0 / 450.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.2081, allocations: 4.698 MB / 455 MB, free: 40.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.121/7.329, allocations: 6.578 kB / 455 MB, free: 40.7 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.485745362006128]