Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.0009171/0.0009171, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009305/0.0009305, allocations: 164.8 kB / 25.61 MB, free: 8.891 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.9496/0.9496, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.135/0.135, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.7 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 7.922 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194e-05/1.391e-05, allocations: 2.312 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.001652/0.001666, allocations: 1.75 MB / 381.1 MB, free: 21.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009125/0.002578, allocations: 0.9897 MB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.002645, allocations: 0 / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.002882, allocations: 35.77 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.003107, allocations: 103.4 kB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.003244, allocations: 83.61 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.00336, allocations: 103.7 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.774e-05/0.003428, allocations: 8 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.213e-05/0.00349, allocations: 59.77 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.57e-05/0.003546, allocations: 27.91 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.003558, allocations: 8 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.972e-05/0.003617, allocations: 43.92 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.596e-05/0.003653, allocations: 23.86 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.00368, allocations: 23.91 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.0038, allocations: 95.66 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-06/0.003801, allocations: 0 / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003801, allocations: 3.938 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.945e-06/0.003804, allocations: 0 / 382.7 MB, free: 19.95 MB / 314.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.0003184/0.004123, allocations: 451.8 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.004152, allocations: 8.031 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.004184, allocations: 20.84 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.004288, allocations: 145.1 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.0043, allocations: 384 / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.004313, allocations: 4.375 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.433e-05/0.004388, allocations: 62.92 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.004395, allocations: 3.938 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.004401, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.004406, allocations: 7.938 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.082e-05/0.004426, allocations: 7.984 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.004591, allocations: 268.3 kB / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.159e-05/0.004662, allocations: 51.17 kB / 383.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.00468, allocations: 23.59 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.004688, allocations: 4 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.371e-05/0.004752, allocations: 60.98 kB / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 8.32e-07/0.004753, allocations: 4 kB / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002858/0.005039, allocations: 137.5 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/0.005057, allocations: 51.41 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.653e-05/0.005134, allocations: 229.8 kB / 384.2 MB, free: 18.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.005143, allocations: 25.7 kB / 384.3 MB, free: 18.24 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.005177, allocations: 158.8 kB / 384.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.005201, allocations: 27.78 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.00523, allocations: 31.36 kB / 384.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.927e-05/0.005279, allocations: 0.4962 MB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.005291, allocations: 4 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.16e-05/0.005313, allocations: 35.3 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.71e-05/0.00535, allocations: 47.78 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.005351, allocations: 4 kB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.447e-05/0.005425, allocations: 93.47 kB / 385.1 MB, free: 17.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.005435, allocations: 4 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.005439, allocations: 4 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.005449, allocations: 7.938 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.033e-05/0.005499, allocations: 15.98 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.005501, allocations: 0 / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.005526, allocations: 8 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.00553, allocations: 0 / 385.2 MB, free: 17.27 MB / 314.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.176e-05/0.005572, allocations: 160.5 kB / 385.3 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.005586, allocations: 23.84 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.777e-05/0.005684, allocations: 99.16 kB / 385.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.005686, allocations: 0 / 385.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.005687, allocations: 0 / 385.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.00569, allocations: 3.938 kB / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.005866, allocations: 361.6 kB / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.005867, allocations: 0 / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.995e-05/0.005887, allocations: 11.94 kB / 385.8 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.005889, allocations: 4 kB / 385.8 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.005894, allocations: 0 / 385.8 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.005895, allocations: 0 / 385.8 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.005896, allocations: 4.031 kB / 385.8 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.165e-05/0.005978, allocations: 263.7 kB / 386.1 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.005987, allocations: 11.94 kB / 386.1 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.006, allocations: 0 / 386.1 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.892e-05/0.006039, allocations: 4 kB / 386.1 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.006062, allocations: 11.98 kB / 386.1 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.006072, allocations: 0 / 386.1 MB, free: 16.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.7e-05/0.006109, allocations: 163.1 kB / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006109, allocations: 0 / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001664/0.006275, allocations: 27.92 kB / 386.3 MB, free: 16.06 MB / 314.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.0008419/0.007117, allocations: 450.5 kB / 386.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.748e-05/0.007194, allocations: 47.59 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.92e-07/0.007195, allocations: 3.938 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.727e-05/0.007223, allocations: 35.61 kB / 386.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.007429, allocations: 36.58 kB / 386.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.007654, allocations: 211.9 kB / 387.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.772e-05/0.007682, allocations: 83.31 kB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.889e-05/0.007711, allocations: 9.297 kB / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.007761, allocations: 90.17 kB / 387.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.007761, allocations: 4 kB / 387.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of Templates: time 0.002907/0.01067, allocations: 2.052 MB / 389.3 MB, free: 13.19 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1830674381926656]