Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.0008194/0.0008194, 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.0009043/0.0009043, 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.9046/0.9046, allocations: 177 MB / 204.1 MB, free: 5.766 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.278/0.278, allocations: 34.23 MB / 294.8 MB, free: 0.6719 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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 442.2 MB, free: 1.473 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.994e-05, allocations: 2.281 kB / 442.2 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.1968/0.1968, allocations: 1.709 MB / 444 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009395/0.1977, allocations: 0.984 MB / 444.9 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.293e-05/0.1978, allocations: 3.062 kB / 444.9 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.1979, allocations: 40.97 kB / 445 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.198, allocations: 98.89 kB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001007/0.1981, allocations: 70.17 kB / 445.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.73e-05/0.1982, allocations: 115.4 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.1983, allocations: 11.83 kB / 445.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.251e-05/0.1983, allocations: 51.72 kB / 445.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.939e-05/0.1984, allocations: 26.45 kB / 445.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.1984, allocations: 9.531 kB / 445.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.787e-05/0.1984, allocations: 42.14 kB / 445.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.1985, allocations: 27.78 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.1985, allocations: 17.97 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.1986, allocations: 120.4 kB / 445.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.1986, allocations: 0 / 445.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1986, allocations: 0 / 445.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1986, allocations: 0 / 445.6 MB, free: 42.86 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.0002293/0.1988, allocations: 356.2 kB / 445.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.477e-05/0.1989, allocations: 8.031 kB / 445.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.333e-05/0.1989, allocations: 33.41 kB / 446 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.972e-05/0.1989, allocations: 13.5 kB / 446 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.199, allocations: 159.3 kB / 446.1 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-06/0.199, allocations: 3.219 kB / 446.1 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.1991, allocations: 3.75 kB / 446.1 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.774e-05/0.1991, allocations: 57.38 kB / 446.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.1991, allocations: 192 / 446.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.1991, allocations: 7 kB / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-06/0.1991, allocations: 0 / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.1992, allocations: 25.36 kB / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.1993, allocations: 251 kB / 446.5 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.273e-05/0.1994, allocations: 61.91 kB / 446.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.1995, allocations: 27.44 kB / 446.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.1995, allocations: 0 / 446.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.797e-05/0.1995, allocations: 67.88 kB / 446.6 MB, free: 42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.21e-07/0.1995, allocations: 0 / 446.6 MB, free: 42 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002729/0.1998, allocations: 186 kB / 446.8 MB, free: 41.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.387e-05/0.1998, allocations: 54.06 kB / 446.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1999, allocations: 216.2 kB / 447.1 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.1999, allocations: 28.77 kB / 447.1 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.594e-05/0.2, allocations: 106.5 kB / 447.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.2, allocations: 28.73 kB / 447.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.2, allocations: 20.06 kB / 447.2 MB, free: 41.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.552e-05/0.2, allocations: 326.6 kB / 447.6 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.814e-05/0.2, allocations: 26.58 kB / 447.6 MB, free: 41.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.234e-05/0.2001, allocations: 38.03 kB / 447.6 MB, free: 41.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.789e-05/0.2001, allocations: 64.97 kB / 447.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.2001, allocations: 0 / 447.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.807e-05/0.2002, allocations: 105 kB / 447.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.775e-06/0.2002, allocations: 9.938 kB / 447.8 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.2002, allocations: 0 / 447.8 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.863e-06/0.2002, allocations: 2.906 kB / 447.8 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.308e-05/0.2003, allocations: 14.55 kB / 447.8 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.2003, allocations: 2.594 kB / 447.8 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.52e-05/0.2003, allocations: 9.188 kB / 447.8 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.2003, allocations: 10.88 kB / 447.8 MB, free: 41.21 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 4.277e-05/0.2004, allocations: 128.7 kB / 448 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.2004, allocations: 9.672 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.2005, allocations: 126.7 kB / 448.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2005, allocations: 4.641 kB / 448.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.2005, allocations: 0 / 448.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.2005, allocations: 3.422 kB / 448.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.2007, allocations: 376.2 kB / 448.5 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2007, allocations: 0 / 448.5 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.949e-05/0.2008, allocations: 15.2 kB / 448.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2008, allocations: 2.688 kB / 448.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.2008, allocations: 0 / 448.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.2008, allocations: 2.656 kB / 448.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2008, allocations: 0 / 448.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.741e-05/0.2009, allocations: 219.4 kB / 448.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.2009, allocations: 11.08 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.2009, allocations: 3.031 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.779e-05/0.2009, allocations: 6.141 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.2009, allocations: 13.89 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.2009, allocations: 11.03 kB / 448.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.153e-05/0.201, allocations: 157.6 kB / 448.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.201, allocations: 0 / 448.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.2012, allocations: 25.22 kB / 448.9 MB, free: 40.46 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.0008501/0.202, allocations: 1.14 MB / 450.1 MB, free: 39.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.856e-05/0.2021, allocations: 52.59 kB / 450.1 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.61e-07/0.2021, allocations: 3.938 kB / 450.1 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.667e-05/0.2022, allocations: 31.05 kB / 450.2 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.2024, allocations: 33.84 kB / 450.2 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008409/0.2032, allocations: 1.702 MB / 451.9 MB, free: 38.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.584e-05/0.2033, allocations: 99.64 kB / 452 MB, free: 38.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.073e-05/0.2033, allocations: 19.66 kB / 452 MB, free: 38.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.2033, allocations: 33.31 kB / 452 MB, free: 38.14 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2033, allocations: 0 / 452 MB, free: 38.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.2177, allocations: 4.339 MB / 456.4 MB, free: 36.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.516/6.734, allocations: 6.719 kB / 456.4 MB, free: 36.71 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.751604598015547]