Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.0009258/0.0009258, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001034/0.001034, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.907/0.907, allocations: 177.1 MB / 204.3 MB, free: 5.754 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.2331/0.2331, allocations: 32.78 MB / 293.5 MB, free: 1.219 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.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 439.7 MB, free: 4.141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.384e-05, allocations: 2.281 kB / 439.7 MB, free: 4.137 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003277/0.003301, allocations: 1.875 MB / 441.5 MB, free: 2.242 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.004967, allocations: 1.08 MB / 442.6 MB, free: 1.156 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.005087, allocations: 7.875 kB / 442.6 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.005433, allocations: 155.5 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.005806, allocations: 191.1 kB / 443 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.006037, allocations: 115.5 kB / 443.1 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.006297, allocations: 259.2 kB / 443.3 MB, free: 452 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.006403, allocations: 13.97 kB / 443.4 MB, free: 436 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.006554, allocations: 139.6 kB / 443.5 MB, free: 296 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.006693, allocations: 123.7 kB / 443.6 MB, free: 172 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.006717, allocations: 12 kB / 443.6 MB, free: 160 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.00682, allocations: 67.84 kB / 443.7 MB, free: 92 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.158e-05/0.006892, allocations: 59.77 kB / 443.7 MB, free: 32 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1791/0.186, allocations: 43.64 kB / 443.8 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004549/0.1864, allocations: 215.5 kB / 444 MB, free: 43.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1864, allocations: 6.844 kB / 444 MB, free: 43.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1864, allocations: 0 / 444 MB, free: 43.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1864, allocations: 2.031 kB / 444 MB, free: 43.62 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005349/0.187, allocations: 476.4 kB / 444.5 MB, free: 43.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.187, allocations: 13.88 kB / 444.5 MB, free: 43.26 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.831e-05/0.187, allocations: 37.22 kB / 444.5 MB, free: 43.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.1871, allocations: 30.12 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.1874, allocations: 217.5 kB / 444.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1874, allocations: 8.062 kB / 444.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.1874, allocations: 8.438 kB / 444.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.1876, allocations: 111 kB / 444.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1876, allocations: 0 / 444.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1876, allocations: 11.84 kB / 444.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1876, allocations: 3.375 kB / 444.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.397e-05/0.1877, allocations: 56.97 kB / 445 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.1881, allocations: 424.9 kB / 445.4 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.1883, allocations: 124.7 kB / 445.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.1884, allocations: 40.72 kB / 445.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.1884, allocations: 7.156 kB / 445.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.1885, allocations: 121.3 kB / 445.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.1885, allocations: 0 / 445.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007434/0.1893, allocations: 0.5046 MB / 446.2 MB, free: 42.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.1893, allocations: 83.98 kB / 446.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.1895, allocations: 385.6 kB / 446.6 MB, free: 42.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.1895, allocations: 32.02 kB / 446.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.1896, allocations: 147.8 kB / 446.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.1896, allocations: 73.48 kB / 446.9 MB, free: 42.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.1897, allocations: 39.73 kB / 446.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.394e-05/0.1897, allocations: 346.5 kB / 447.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.113e-05/0.1898, allocations: 62.81 kB / 447.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-05/0.1898, allocations: 97.53 kB / 447.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.19, allocations: 166.8 kB / 447.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.19, allocations: 2.781 kB / 447.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002045/0.1902, allocations: 238.5 kB / 447.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.1902, allocations: 5.812 kB / 447.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1902, allocations: 0 / 447.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1902, allocations: 3.031 kB / 447.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/0.1903, allocations: 50.22 kB / 447.9 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1903, allocations: 3.781 kB / 447.9 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.1904, allocations: 9.094 kB / 447.9 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1904, allocations: 12.75 kB / 447.9 MB, free: 41.62 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.786e-05/0.1904, allocations: 160.4 kB / 448 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.1905, allocations: 28.81 kB / 448.1 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.1907, allocations: 277.6 kB / 448.3 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1908, allocations: 2.875 kB / 448.3 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1908, allocations: 6.844 kB / 448.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1908, allocations: 0.5625 kB / 448.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.1912, allocations: 0.6912 MB / 449 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1912, allocations: 7.625 kB / 449.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.758e-05/0.1913, allocations: 32.38 kB / 449.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1913, allocations: 2.906 kB / 449.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1913, allocations: 5.688 kB / 449.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1913, allocations: 6.781 kB / 449.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1913, allocations: 2.906 kB / 449.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.1915, allocations: 442.4 kB / 449.5 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.1915, allocations: 24.16 kB / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.1915, allocations: 9.406 kB / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.1916, allocations: 9.797 kB / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.1917, allocations: 32.44 kB / 449.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.1917, allocations: 11.48 kB / 449.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1918, allocations: 283.2 kB / 449.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1918, allocations: 0 / 449.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000222/0.192, allocations: 58.42 kB / 450 MB, free: 40.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.001072/0.1931, allocations: 1.421 MB / 451.4 MB, free: 39.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.1933, allocations: 154.2 kB / 451.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1933, allocations: 0 / 451.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.426e-05/0.1934, allocations: 84.41 kB / 451.6 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1937, allocations: 72.42 kB / 451.7 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.1954, allocations: 2.745 MB / 454.4 MB, free: 37.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.496e-05/0.1955, allocations: 159 kB / 454.6 MB, free: 37.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.839e-05/0.1956, allocations: 39.05 kB / 454.6 MB, free: 37.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.691e-05/0.1957, allocations: 93.59 kB / 454.7 MB, free: 37.68 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1957, allocations: 0 / 454.7 MB, free: 37.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.2148, allocations: 7.057 MB / 461.8 MB, free: 36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.859/7.074, allocations: 10.34 kB / 461.8 MB, free: 35.99 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.045154576189816]