Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001221/0.001221, 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.0009969/0.0009969, 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.8865/0.8865, allocations: 177.2 MB / 204.3 MB, free: 5.719 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.2593/0.2593, allocations: 32.79 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.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.077e-05, allocations: 3.828 kB / 439.7 MB, free: 4.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002466/0.002486, allocations: 2.168 MB / 441.9 MB, free: 1.965 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.003903, allocations: 1.273 MB / 443.1 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.004035, allocations: 7.938 kB / 443.1 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004342/0.004469, allocations: 143.2 kB / 443.3 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004474/0.004917, allocations: 262.7 kB / 443.5 MB, free: 288 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.005196, allocations: 191.4 kB / 443.7 MB, free: 96 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.181/0.1862, allocations: 480.4 kB / 444.2 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/0.1864, allocations: 44 kB / 444.2 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004948/0.1869, allocations: 386.4 kB / 444.6 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1871, allocations: 139.8 kB / 444.7 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.1871, allocations: 18.22 kB / 444.8 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.1873, allocations: 76.86 kB / 444.8 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.1874, allocations: 158.4 kB / 445 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.877e-05/0.1875, allocations: 96.05 kB / 445.1 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004363/0.1879, allocations: 478.6 kB / 445.6 MB, free: 43.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1879, allocations: 0 / 445.6 MB, free: 43.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1879, allocations: 1.906 kB / 445.6 MB, free: 43.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1879, allocations: 0 / 445.6 MB, free: 43.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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008029/0.1887, allocations: 0.8225 MB / 446.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1888, allocations: 8.531 kB / 446.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/0.1888, allocations: 53.34 kB / 446.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.068e-05/0.1889, allocations: 73.09 kB / 446.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.1893, allocations: 368.1 kB / 446.9 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.1893, allocations: 9.922 kB / 446.9 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.1893, allocations: 27.17 kB / 446.9 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.1896, allocations: 197.1 kB / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.1896, allocations: 6.156 kB / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1896, allocations: 8.938 kB / 447.1 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1896, allocations: 5.312 kB / 447.1 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.1897, allocations: 102.4 kB / 447.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005705/0.1903, allocations: 0.775 MB / 448 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.1907, allocations: 247.6 kB / 448.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1908, allocations: 91.09 kB / 448.3 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.1908, allocations: 6.688 kB / 448.3 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.191, allocations: 207.4 kB / 448.5 MB, free: 41.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.191, allocations: 0 / 448.5 MB, free: 41.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001333/0.1924, allocations: 1.222 MB / 449.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.1924, allocations: 138 kB / 449.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005863/0.193, allocations: 0.9682 MB / 450.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.193, allocations: 49.48 kB / 450.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.1931, allocations: 276 kB / 451.2 MB, free: 40.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.227e-05/0.1932, allocations: 149.6 kB / 451.3 MB, free: 40.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.1933, allocations: 85.81 kB / 451.4 MB, free: 40.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.377e-05/0.1933, allocations: 330.6 kB / 451.7 MB, free: 40.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.1934, allocations: 118.9 kB / 451.8 MB, free: 39.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.1936, allocations: 194.7 kB / 452 MB, free: 39.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.1939, allocations: 316.4 kB / 452.3 MB, free: 39.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1939, allocations: 7.25 kB / 452.4 MB, free: 39.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004132/0.1943, allocations: 461.8 kB / 452.8 MB, free: 39.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1943, allocations: 5.781 kB / 452.8 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1943, allocations: 3.125 kB / 452.8 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1943, allocations: 3.312 kB / 452.8 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.1944, allocations: 88.12 kB / 452.9 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1945, allocations: 9.609 kB / 452.9 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.896e-05/0.1945, allocations: 17.67 kB / 452.9 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.1946, allocations: 17.69 kB / 452.9 MB, free: 39.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001567/0.1947, allocations: 266.7 kB / 453.2 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.1948, allocations: 81.55 kB / 453.3 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006054/0.1954, allocations: 0.5332 MB / 453.8 MB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1954, allocations: 6.219 kB / 453.8 MB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1954, allocations: 0 / 453.8 MB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1954, allocations: 6.5 kB / 453.8 MB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008805/0.1963, allocations: 1.318 MB / 455.1 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1963, allocations: 3.188 kB / 455.1 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.14e-05/0.1964, allocations: 65.19 kB / 455.2 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1964, allocations: 9.875 kB / 455.2 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.1964, allocations: 13.75 kB / 455.2 MB, free: 38.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1964, allocations: 6.344 kB / 455.2 MB, free: 38.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1964, allocations: 3.281 kB / 455.2 MB, free: 38.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.1968, allocations: 0.8366 MB / 456.1 MB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.1969, allocations: 114 kB / 456.2 MB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.197, allocations: 14.38 kB / 456.2 MB, free: 37.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.1971, allocations: 16.59 kB / 456.2 MB, free: 37.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.1972, allocations: 43.08 kB / 456.3 MB, free: 37.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.1972, allocations: 26.22 kB / 456.3 MB, free: 37.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003942/0.1976, allocations: 0.7179 MB / 457 MB, free: 37.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1976, allocations: 0 / 457 MB, free: 37.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003557/0.198, allocations: 88.62 kB / 457.1 MB, free: 37.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001385/0.1993, allocations: 1.856 MB / 459 MB, free: 36.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003642/0.1997, allocations: 320.6 kB / 459.3 MB, free: 36.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1997, allocations: 256 / 459.3 MB, free: 36.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.1999, allocations: 160.4 kB / 459.4 MB, free: 36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005849/0.2005, allocations: 131.6 kB / 459.6 MB, free: 35.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.204, allocations: 5.197 MB / 464.7 MB, free: 33.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.2042, allocations: 329.6 kB / 465.1 MB, free: 32.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.2043, allocations: 83.16 kB / 465.2 MB, free: 32.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.2045, allocations: 214.3 kB / 465.4 MB, free: 32.81 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.2045, allocations: 7.188 kB / 465.4 MB, free: 32.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.2268, allocations: 12.73 MB / 478.1 MB, free: 30.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.852/7.079, allocations: 16.33 kB / 478.1 MB, free: 30.52 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.108533180318773]