Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001295/0.001295, 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.001425/0.001425, allocations: 170 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.9455/0.9455, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2363/0.2363, allocations: 32.78 MB / 293.5 MB, free: 1.227 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 439.7 MB, free: 4.184 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.185e-05, allocations: 4.672 kB / 439.7 MB, free: 4.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003674/0.003696, allocations: 1.908 MB / 441.6 MB, free: 2.254 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.005557, allocations: 1.009 MB / 442.6 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.005714, allocations: 3.938 kB / 442.6 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000423/0.006137, allocations: 47.69 kB / 442.6 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005023/0.006639, allocations: 99.42 kB / 442.7 MB, free: 1.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.006943, allocations: 95.62 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.007228, allocations: 151.5 kB / 443 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.00738, allocations: 21.75 kB / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.007507, allocations: 79.73 kB / 443.1 MB, free: 0.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.007613, allocations: 31.91 kB / 443.1 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.007635, allocations: 12 kB / 443.1 MB, free: 0.707 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.007736, allocations: 47.97 kB / 443.2 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.507e-05/0.007801, allocations: 31.8 kB / 443.2 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.007862, allocations: 31.84 kB / 443.2 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.008089, allocations: 159.4 kB / 443.4 MB, free: 452 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.008092, allocations: 0 / 443.4 MB, free: 452 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.008093, allocations: 0 / 443.4 MB, free: 452 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.008098, allocations: 0 / 443.4 MB, free: 452 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.0006448/0.008742, allocations: 407 kB / 443.8 MB, free: 8 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.177/0.1857, allocations: 14.3 kB / 443.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.224e-05/0.1858, allocations: 38.22 kB / 443.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.1859, allocations: 18.64 kB / 443.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.1861, allocations: 162.6 kB / 444 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1862, allocations: 10.38 kB / 444 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.1862, allocations: 10.52 kB / 444 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.1864, allocations: 134.5 kB / 444.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-06/0.1864, allocations: 0 / 444.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1864, allocations: 4.969 kB / 444.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1864, allocations: 4.531 kB / 444.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.112e-05/0.1865, allocations: 58.47 kB / 444.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.1868, allocations: 475.7 kB / 444.7 MB, free: 45.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.1871, allocations: 82.94 kB / 444.8 MB, free: 45.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.848e-05/0.1871, allocations: 43.2 kB / 444.8 MB, free: 45.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.1871, allocations: 5.156 kB / 444.8 MB, free: 45.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/0.1873, allocations: 113 kB / 444.9 MB, free: 45.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.1873, allocations: 0 / 444.9 MB, free: 45.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002336/0.1875, allocations: 151.5 kB / 445.1 MB, free: 45.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.1875, allocations: 54.94 kB / 445.1 MB, free: 45.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1876, allocations: 203.5 kB / 445.3 MB, free: 45.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.1876, allocations: 32.23 kB / 445.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.1877, allocations: 113.7 kB / 445.5 MB, free: 45.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.1877, allocations: 30.92 kB / 445.5 MB, free: 45.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.1877, allocations: 27.38 kB / 445.5 MB, free: 45.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.919e-05/0.1877, allocations: 328.5 kB / 445.8 MB, free: 45.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.615e-05/0.1878, allocations: 34.97 kB / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.882e-05/0.1878, allocations: 67.5 kB / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.486e-05/0.1879, allocations: 96.02 kB / 446 MB, free: 45.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1879, allocations: 2.625 kB / 446 MB, free: 45.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001427/0.1881, allocations: 151.9 kB / 446.2 MB, free: 45.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1881, allocations: 5.562 kB / 446.2 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1881, allocations: 0 / 446.2 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1881, allocations: 2.812 kB / 446.2 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.029e-05/0.1882, allocations: 30.02 kB / 446.2 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.1882, allocations: 0 / 446.2 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.1882, allocations: 11.94 kB / 446.2 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.1882, allocations: 7.5 kB / 446.2 MB, free: 45 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.856e-05/0.1883, allocations: 135.6 kB / 446.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.1883, allocations: 14.19 kB / 446.4 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.1884, allocations: 135.2 kB / 446.5 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1884, allocations: 0 / 446.5 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1884, allocations: 2.656 kB / 446.5 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1884, allocations: 3.812 kB / 446.5 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.155e-05/0.1885, allocations: 186.1 kB / 446.7 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1885, allocations: 0 / 446.7 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.565e-05/0.1886, allocations: 15.94 kB / 446.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1886, allocations: 0 / 446.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.1886, allocations: 6.172 kB / 446.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1886, allocations: 2.25 kB / 446.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1886, allocations: 0 / 446.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.1888, allocations: 198.2 kB / 446.9 MB, free: 44.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.1888, allocations: 18.42 kB / 446.9 MB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.1888, allocations: 7.062 kB / 447 MB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.784e-05/0.1888, allocations: 6.078 kB / 447 MB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.1889, allocations: 6.141 kB / 447 MB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.1889, allocations: 5.75 kB / 447 MB, free: 44.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.939e-05/0.189, allocations: 148.7 kB / 447.1 MB, free: 44.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.189, allocations: 0 / 447.1 MB, free: 44.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001564/0.1891, allocations: 25.02 kB / 447.1 MB, free: 44.4 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.000901/0.19, allocations: 1.072 MB / 448.2 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.1902, allocations: 79.84 kB / 448.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.1902, allocations: 6.375 kB / 448.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.993e-05/0.1902, allocations: 40.27 kB / 448.3 MB, free: 43.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.1904, allocations: 39.84 kB / 448.4 MB, free: 43.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1914, allocations: 1.767 MB / 450.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.019e-05/0.1915, allocations: 102.1 kB / 450.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.915e-05/0.1915, allocations: 19.81 kB / 450.3 MB, free: 42.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.1916, allocations: 46.66 kB / 450.3 MB, free: 42.17 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1916, allocations: 0 / 450.3 MB, free: 42.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.2075, allocations: 4.695 MB / 455 MB, free: 40.74 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.989/7.197, allocations: 0 / 455 MB, free: 40.74 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_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_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.32407974358648]