Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.000814/0.000814, allocations: 80.34 kB / 20.67 MB, free: 3.883 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.0007836/0.0007836, allocations: 156.9 kB / 23.95 MB, free: 0.6055 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.8754/0.8754, allocations: 177 MB / 204.1 MB, free: 5.734 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.2442/0.2442, allocations: 34.24 MB / 294.8 MB, free: 0.6914 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.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 7.875 kB / 442.2 MB, free: 1.473 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.126e-05, allocations: 2.281 kB / 442.2 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.1959/0.1959, allocations: 1.711 MB / 444 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1971, allocations: 0.9809 MB / 444.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/0.1971, allocations: 2.656 kB / 444.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.1974, allocations: 52.22 kB / 445 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.1977, allocations: 101.7 kB / 445.1 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001321/0.1978, allocations: 72.56 kB / 445.2 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.198, allocations: 113.8 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.874e-05/0.1981, allocations: 9.062 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.04e-05/0.1982, allocations: 56.16 kB / 445.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.734e-05/0.1982, allocations: 29.14 kB / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1982, allocations: 5.312 kB / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.439e-05/0.1983, allocations: 43.05 kB / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.531e-05/0.1984, allocations: 30.62 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.1984, allocations: 21.41 kB / 445.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.1986, allocations: 141.4 kB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1986, allocations: 0 / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1986, allocations: 0 / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1986, allocations: 0 / 445.6 MB, free: 42.81 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004124/0.199, allocations: 370.8 kB / 446 MB, free: 42.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.199, allocations: 8.562 kB / 446 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.392e-05/0.1991, allocations: 40.94 kB / 446 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.1991, allocations: 18.75 kB / 446 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.1993, allocations: 158.2 kB / 446.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1993, allocations: 3.688 kB / 446.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.1994, allocations: 5.984 kB / 446.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.1995, allocations: 54.95 kB / 446.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1995, allocations: 192 / 446.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1995, allocations: 4.125 kB / 446.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1995, allocations: 2.938 kB / 446.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.124e-05/0.1995, allocations: 22.02 kB / 446.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/0.1998, allocations: 263.9 kB / 446.5 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.1999, allocations: 60.02 kB / 446.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.232e-05/0.2, allocations: 24.3 kB / 446.6 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.2, allocations: 0 / 446.6 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.2001, allocations: 76.86 kB / 446.7 MB, free: 41.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.71e-07/0.2001, allocations: 2.875 kB / 446.7 MB, free: 41.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004044/0.2005, allocations: 190.9 kB / 446.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.2005, allocations: 51.41 kB / 446.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.2007, allocations: 280 kB / 447.2 MB, free: 41.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.2007, allocations: 25.7 kB / 447.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.2007, allocations: 119.8 kB / 447.3 MB, free: 41.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.2008, allocations: 25.36 kB / 447.4 MB, free: 41.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.2008, allocations: 28.62 kB / 447.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.094e-05/0.2008, allocations: 326.9 kB / 447.7 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.702e-05/0.2009, allocations: 22.84 kB / 447.7 MB, free: 41.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.2009, allocations: 40.08 kB / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.091e-05/0.201, allocations: 64.02 kB / 447.8 MB, free: 41.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.201, allocations: 6.938 kB / 447.9 MB, free: 41.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001223/0.2011, allocations: 106.4 kB / 448 MB, free: 41.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2011, allocations: 6.125 kB / 448 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2011, allocations: 0 / 448 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2011, allocations: 0 / 448 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.781e-05/0.2012, allocations: 17.67 kB / 448 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2012, allocations: 3.938 kB / 448 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.266e-05/0.2013, allocations: 2.781 kB / 448 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.2013, allocations: 6.875 kB / 448 MB, free: 41.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.761e-05/0.2013, allocations: 143.5 kB / 448.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.2014, allocations: 23.98 kB / 448.2 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.2015, allocations: 126.5 kB / 448.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2015, allocations: 0 / 448.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2015, allocations: 2.375 kB / 448.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2015, allocations: 0 / 448.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.2018, allocations: 382.9 kB / 448.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2018, allocations: 0 / 448.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.2018, allocations: 9.719 kB / 448.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2018, allocations: 4.031 kB / 448.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.2019, allocations: 9.25 kB / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2019, allocations: 2.125 kB / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2019, allocations: 0 / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.202, allocations: 221.4 kB / 448.9 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.202, allocations: 11.23 kB / 448.9 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.202, allocations: 2.781 kB / 448.9 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.033e-05/0.2021, allocations: 10.27 kB / 448.9 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.2021, allocations: 10.31 kB / 448.9 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.2021, allocations: 6 kB / 448.9 MB, free: 40.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000103/0.2022, allocations: 213.3 kB / 449.1 MB, free: 40.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2022, allocations: 0 / 449.1 MB, free: 40.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001761/0.2024, allocations: 28.3 kB / 449.2 MB, free: 40.29 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: 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 (9): * Single equations (assignments): 7 * 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.001027/0.2034, allocations: 1.137 MB / 450.3 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.2035, allocations: 67.02 kB / 450.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2035, allocations: 0 / 450.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.2036, allocations: 24.81 kB / 450.4 MB, free: 39.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.2038, allocations: 29.06 kB / 450.4 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.205, allocations: 1.853 MB / 452.3 MB, free: 38.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.168e-05/0.2051, allocations: 112.1 kB / 452.4 MB, free: 37.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.531e-05/0.2051, allocations: 13.11 kB / 452.4 MB, free: 37.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.663e-05/0.2052, allocations: 47.2 kB / 452.4 MB, free: 37.95 MB / 410.7 MB Notification: Performance of SimCode: time 9.31e-07/0.2052, allocations: 0 / 452.4 MB, free: 37.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.222, allocations: 4.615 MB / 457.1 MB, free: 36.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.68/6.902, allocations: 7.031 kB / 457.1 MB, free: 36.48 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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: 8.856718158349395]