Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.001284/0.001284, allocations: 83.92 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001357/0.001357, allocations: 164 kB / 23.96 MB, free: 4.145 MB / 14.72 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 1.531/1.531, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2158/0.2158, allocations: 34.29 MB / 295 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 442.8 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.262e-05, allocations: 5.656 kB / 442.8 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003218/0.003251, allocations: 1.73 MB / 444.5 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.005062, allocations: 0.9704 MB / 445.5 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.738e-05/0.005149, allocations: 0 / 445.5 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.005465, allocations: 51.69 kB / 445.5 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.005786, allocations: 91.53 kB / 445.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.005979, allocations: 79.56 kB / 445.7 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.006182, allocations: 115.5 kB / 445.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.006282, allocations: 4 kB / 445.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.0064, allocations: 55.83 kB / 445.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.219e-05/0.006492, allocations: 31.91 kB / 445.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.006515, allocations: 4 kB / 445.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.006619, allocations: 39.98 kB / 445.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.954e-05/0.006689, allocations: 23.91 kB / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.006745, allocations: 23.86 kB / 446 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.006982, allocations: 119.5 kB / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.006985, allocations: 0 / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.006986, allocations: 0 / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.00699, allocations: 4 kB / 446.1 MB, free: 1.984 MB / 366.1 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.0005959/0.007586, allocations: 341.6 kB / 446.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.007623, allocations: 12.03 kB / 446.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.007675, allocations: 16.84 kB / 446.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.007929, allocations: 150.3 kB / 446.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.007945, allocations: 4.375 kB / 446.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.007963, allocations: 384 / 446.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.008135, allocations: 58.23 kB / 446.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.008153, allocations: 7.875 kB / 446.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.008169, allocations: 3.984 kB / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.008174, allocations: 0 / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.524e-05/0.008259, allocations: 23.97 kB / 446.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.008637, allocations: 236.6 kB / 446.9 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.008826, allocations: 54.69 kB / 447 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.046e-05/0.008887, allocations: 28.72 kB / 447 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.008901, allocations: 0 / 447 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.009071, allocations: 67.39 kB / 447.1 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.009073, allocations: 0 / 447.1 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000585/0.009658, allocations: 193.5 kB / 447.3 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.009705, allocations: 51.41 kB / 447.3 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.009911, allocations: 206.2 kB / 447.5 MB, free: 428 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.009932, allocations: 29.7 kB / 447.5 MB, free: 392 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.01, allocations: 104.1 kB / 447.6 MB, free: 284 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.01003, allocations: 23.8 kB / 447.7 MB, free: 260 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.01008, allocations: 29.7 kB / 447.7 MB, free: 224 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1799/0.19, allocations: 322.8 kB / 448 MB, free: 19.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.1901, allocations: 14.62 kB / 448 MB, free: 19.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.702e-05/0.1902, allocations: 38.75 kB / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1903, allocations: 64.97 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.1903, allocations: 1.531 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002281/0.1906, allocations: 103.3 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1906, allocations: 6.047 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1906, allocations: 7.594 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.1906, allocations: 1.344 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.961e-05/0.1907, allocations: 19.97 kB / 448.3 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1907, allocations: 3.75 kB / 448.3 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.1908, allocations: 6.938 kB / 448.3 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1908, allocations: 3.531 kB / 448.3 MB, free: 19.02 MB / 366.1 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 8.833e-05/0.1909, allocations: 125.4 kB / 448.4 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.1909, allocations: 9.578 kB / 448.4 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.1911, allocations: 119 kB / 448.5 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1911, allocations: 3.641 kB / 448.5 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1912, allocations: 5 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1912, allocations: 0.5625 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.1916, allocations: 350.6 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1916, allocations: 3.438 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.1916, allocations: 14.48 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1916, allocations: 1.438 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1916, allocations: 5.922 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1916, allocations: 1.797 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1916, allocations: 0 / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.1919, allocations: 212.6 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.1919, allocations: 12.17 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.1919, allocations: 9.891 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.192, allocations: 7.203 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.192, allocations: 11.98 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.1921, allocations: 4.375 kB / 449.2 MB, free: 18.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.1922, allocations: 150.2 kB / 449.3 MB, free: 18.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1922, allocations: 1.859 kB / 449.3 MB, free: 18.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003008/0.1925, allocations: 26.16 kB / 449.3 MB, free: 18.4 MB / 366.1 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.002133/0.1946, allocations: 0.4907 MB / 449.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.1949, allocations: 57.88 kB / 449.9 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1949, allocations: 0 / 449.9 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.097e-05/0.195, allocations: 32.53 kB / 449.9 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.1954, allocations: 32.75 kB / 449.9 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005425/0.1959, allocations: 234.2 kB / 450.2 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.018e-05/0.196, allocations: 95.12 kB / 450.3 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.483e-05/0.196, allocations: 20.66 kB / 450.3 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.1961, allocations: 15.84 kB / 450.3 MB, free: 17.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1961, allocations: 0 / 450.3 MB, free: 17.98 MB / 366.1 MB Notification: Performance of Templates: time 0.005633/0.2017, allocations: 1.848 MB / 452.1 MB, free: 17.74 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.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: 5.009053681045771]