Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.001136/0.001136, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001504/0.001504, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8923/0.8923, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2329/0.2329, allocations: 34.24 MB / 294.8 MB, free: 0.7109 MB / 266.7 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.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 3.938 kB / 442.2 MB, free: 1.484 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.814e-05, allocations: 6.281 kB / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.1816/0.1816, allocations: 1.772 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1827, allocations: 1.055 MB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.323e-05/0.1828, allocations: 3.938 kB / 445.1 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.1832, allocations: 300.1 kB / 445.4 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.1835, allocations: 260 kB / 445.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.1837, allocations: 107.7 kB / 445.7 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.1839, allocations: 266.4 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.1839, allocations: 10.95 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.184, allocations: 158.6 kB / 446.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.1842, allocations: 200.4 kB / 446.3 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.1842, allocations: 8.094 kB / 446.3 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.083e-05/0.1843, allocations: 47.31 kB / 446.4 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.698e-05/0.1844, allocations: 129.5 kB / 446.5 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.961e-05/0.1845, allocations: 78.78 kB / 446.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.1847, allocations: 351.5 kB / 446.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1847, allocations: 1.406 kB / 446.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1847, allocations: 0 / 446.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1847, allocations: 0 / 446.9 MB, free: 42.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005647/0.1853, allocations: 0.6732 MB / 447.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.1853, allocations: 15.19 kB / 447.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.284e-05/0.1854, allocations: 30.75 kB / 447.7 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.1854, allocations: 51.14 kB / 447.7 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.1858, allocations: 389.9 kB / 448.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1858, allocations: 3.219 kB / 448.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.1858, allocations: 7.188 kB / 448.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1859, allocations: 92.06 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1859, allocations: 5.5 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.1859, allocations: 4.125 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1859, allocations: 2.781 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.463e-05/0.186, allocations: 35.62 kB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/0.1862, allocations: 323.3 kB / 448.6 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.1864, allocations: 111.1 kB / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.1864, allocations: 35.39 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.1864, allocations: 2.5 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.1866, allocations: 108.6 kB / 448.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.1866, allocations: 0 / 448.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002892/0.1869, allocations: 218 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.1869, allocations: 85.05 kB / 449.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006065/0.1875, allocations: 1.033 MB / 450.1 MB, free: 40.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.1875, allocations: 32.52 kB / 450.2 MB, free: 40.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.1876, allocations: 231.8 kB / 450.4 MB, free: 40.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.1876, allocations: 25.98 kB / 450.4 MB, free: 40.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.1877, allocations: 31.92 kB / 450.4 MB, free: 40.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.183e-05/0.1877, allocations: 366.2 kB / 450.8 MB, free: 40.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.901e-05/0.1878, allocations: 25.89 kB / 450.8 MB, free: 40.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.775e-05/0.1878, allocations: 58.62 kB / 450.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.442e-05/0.1879, allocations: 97.38 kB / 451 MB, free: 40.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1879, allocations: 0 / 451 MB, free: 40.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001662/0.1881, allocations: 181 kB / 451.2 MB, free: 40.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1881, allocations: 5.688 kB / 451.2 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1881, allocations: 6.781 kB / 451.2 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1881, allocations: 0 / 451.2 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.932e-05/0.1882, allocations: 28.22 kB / 451.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1882, allocations: 6.906 kB / 451.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.1883, allocations: 12.81 kB / 451.2 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.1883, allocations: 3.5 kB / 451.2 MB, free: 40.01 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 0.0001159/0.1884, allocations: 218.8 kB / 451.4 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.1884, allocations: 58.16 kB / 451.5 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.1886, allocations: 203.1 kB / 451.7 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.1886, allocations: 2.781 kB / 451.7 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1886, allocations: 0 / 451.7 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1886, allocations: 3.688 kB / 451.7 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.1888, allocations: 301.1 kB / 452 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1888, allocations: 0 / 452 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.1888, allocations: 12.62 kB / 452 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1888, allocations: 2.719 kB / 452 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1888, allocations: 11.17 kB / 452 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1888, allocations: 2.969 kB / 452 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1888, allocations: 0 / 452 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.189, allocations: 219.9 kB / 452.2 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.189, allocations: 63.69 kB / 452.3 MB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.1891, allocations: 6.781 kB / 452.3 MB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.071e-05/0.1891, allocations: 13.62 kB / 452.3 MB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.1892, allocations: 12.06 kB / 452.3 MB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.1892, allocations: 5.406 kB / 452.3 MB, free: 39.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004167/0.1896, allocations: 0.7715 MB / 453.1 MB, free: 39.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1896, allocations: 0 / 453.1 MB, free: 39.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001737/0.1898, allocations: 45.06 kB / 453.2 MB, free: 39.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0008666/0.1906, allocations: 1.086 MB / 454.2 MB, free: 38.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.1908, allocations: 98.11 kB / 454.3 MB, free: 38.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1908, allocations: 0 / 454.3 MB, free: 38.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.637e-05/0.1908, allocations: 37.91 kB / 454.4 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.1911, allocations: 70.06 kB / 454.4 MB, free: 38.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.1943, allocations: 4.531 MB / 459 MB, free: 36.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.1944, allocations: 244.6 kB / 459.2 MB, free: 36.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.765e-05/0.1945, allocations: 54.16 kB / 459.3 MB, free: 36.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.1946, allocations: 148.5 kB / 459.4 MB, free: 35.96 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1946, allocations: 3.188 kB / 459.4 MB, free: 35.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.2125, allocations: 9.984 MB / 469.4 MB, free: 33.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.856/7.068, allocations: 9.594 kB / 469.4 MB, free: 33.94 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.035610724240541]