Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.0008393/0.0008393, 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.0007804/0.0007804, 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.8841/0.8841, allocations: 177.1 MB / 204.3 MB, free: 5.75 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.2631/0.2631, allocations: 32.78 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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 3.938 kB / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.265e-05, allocations: 4.531 kB / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003101/0.003124, allocations: 1.716 MB / 441.4 MB, free: 2.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.00456, allocations: 0.9742 MB / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.004636, allocations: 4 kB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.004915, allocations: 39.77 kB / 442.4 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.005205, allocations: 103.5 kB / 442.5 MB, free: 1.305 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.005378, allocations: 75.61 kB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.005538, allocations: 107.7 kB / 442.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.18e-05/0.00563, allocations: 7.984 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.134e-05/0.005711, allocations: 63.7 kB / 442.8 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.828e-05/0.00581, allocations: 23.91 kB / 442.8 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.005825, allocations: 4 kB / 442.8 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.05e-05/0.005906, allocations: 43.92 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.005957, allocations: 27.86 kB / 442.8 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.005994, allocations: 23.91 kB / 442.9 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.006165, allocations: 119.6 kB / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.006168, allocations: 0 / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.006169, allocations: 4 kB / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.006174, allocations: 0 / 443 MB, free: 0.8125 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.0004544/0.006628, allocations: 353.4 kB / 443.3 MB, free: 448 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.006673, allocations: 12.03 kB / 443.3 MB, free: 436 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.006706, allocations: 34.73 kB / 443.4 MB, free: 392 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.006737, allocations: 8.891 kB / 443.4 MB, free: 384 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.006931, allocations: 161.5 kB / 443.6 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.006945, allocations: 4.375 kB / 443.6 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.006964, allocations: 4.375 kB / 443.6 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.007085, allocations: 61.98 kB / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.007096, allocations: 0 / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.007106, allocations: 0 / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.00711, allocations: 0 / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.716e-05/0.007168, allocations: 23.92 kB / 443.6 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1929/0.2001, allocations: 262.9 kB / 443.9 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.2002, allocations: 55.48 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.082e-05/0.2003, allocations: 18.66 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.2003, allocations: 5.625 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.2004, allocations: 65.98 kB / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.2004, allocations: 0 / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004028/0.2008, allocations: 187.2 kB / 444.2 MB, free: 46.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.2008, allocations: 54.56 kB / 444.3 MB, free: 46.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.2009, allocations: 214 kB / 444.5 MB, free: 46.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.693e-06/0.2009, allocations: 27.95 kB / 444.5 MB, free: 46.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.201, allocations: 103.5 kB / 444.6 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.201, allocations: 28.27 kB / 444.6 MB, free: 45.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.201, allocations: 27.67 kB / 444.7 MB, free: 45.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.254e-05/0.2011, allocations: 323.7 kB / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.586e-05/0.2011, allocations: 23.83 kB / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.881e-05/0.2011, allocations: 38.72 kB / 445 MB, free: 45.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.037e-05/0.2012, allocations: 67.56 kB / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2012, allocations: 0 / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001018/0.2013, allocations: 109.7 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.2013, allocations: 5.438 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2013, allocations: 3.781 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2013, allocations: 0 / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.352e-05/0.2014, allocations: 16.45 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.2014, allocations: 5.766 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.888e-05/0.2014, allocations: 6.156 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.2014, allocations: 2.562 kB / 445.3 MB, free: 45.57 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 5.232e-05/0.2015, allocations: 128.3 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.2015, allocations: 20.58 kB / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.2016, allocations: 118.9 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2016, allocations: 7.938 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2017, allocations: 2.562 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.2017, allocations: 3.328 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.2019, allocations: 372.4 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2019, allocations: 0 / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.079e-05/0.2019, allocations: 19.97 kB / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2019, allocations: 0 / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.2019, allocations: 5.844 kB / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2019, allocations: 0 / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2019, allocations: 1.062 kB / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.92e-05/0.202, allocations: 220.8 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.202, allocations: 10.81 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.202, allocations: 7 kB / 446.2 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.763e-05/0.2021, allocations: 5.75 kB / 446.2 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.2021, allocations: 6.219 kB / 446.2 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.2021, allocations: 6.844 kB / 446.2 MB, free: 44.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.096e-05/0.2022, allocations: 160.8 kB / 446.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2022, allocations: 0 / 446.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001682/0.2024, allocations: 28.09 kB / 446.4 MB, free: 44.85 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.0008628/0.2032, allocations: 1.134 MB / 447.5 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.2033, allocations: 57.17 kB / 447.6 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2033, allocations: 7.031 kB / 447.6 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.757e-05/0.2034, allocations: 31.41 kB / 447.6 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.2036, allocations: 28.61 kB / 447.6 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009138/0.2045, allocations: 1.716 MB / 449.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.694e-05/0.2046, allocations: 94.48 kB / 449.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.375e-05/0.2046, allocations: 23.86 kB / 449.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.341e-05/0.2046, allocations: 43.44 kB / 449.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2046, allocations: 0 / 449.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01312/0.2178, allocations: 4.337 MB / 453.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.644/6.862, allocations: 2.844 kB / 453.8 MB, free: 41.18 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.855445869266987]