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.001093/0.001093, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001728/0.002821, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001122/0.001122, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001425/0.002546, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.04/1.04, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1018/1.142, allocations: 53.64 MB / 243.2 MB, free: 15.6 MB / 250.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.2632/0.2632, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02547/0.2887, allocations: 13.09 MB / 291.3 MB, free: 7.395 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.723e-06/1.723e-06, allocations: 3.938 kB / 292.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.134e-05, allocations: 3.078 kB / 292.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002474/0.002495, allocations: 1.809 MB / 294.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.004146, allocations: 1.018 MB / 295.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.681e-05/0.004232, allocations: 0 / 295.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.004439, allocations: 39.77 kB / 295.6 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.004696, allocations: 99.41 kB / 295.7 MB, free: 3.246 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.004924, allocations: 75.67 kB / 295.8 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.005085, allocations: 111.6 kB / 295.9 MB, free: 3.062 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.561e-05/0.005171, allocations: 4 kB / 295.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.005296, allocations: 79.81 kB / 295.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.788e-05/0.005374, allocations: 27.91 kB / 296 MB, free: 2.953 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.00539, allocations: 4 kB / 296 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.794e-05/0.005478, allocations: 47.86 kB / 296 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.005523, allocations: 23.92 kB / 296 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.721e-05/0.00556, allocations: 15.94 kB / 296.1 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.005728, allocations: 99.59 kB / 296.2 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.791e-05/0.005746, allocations: 0 / 296.2 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005746, allocations: 0 / 296.2 MB, free: 2.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.005761, allocations: 0 / 296.2 MB, free: 2.766 MB / 282.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.0004931/0.006254, allocations: 341 kB / 296.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.006292, allocations: 8.031 kB / 296.5 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.006328, allocations: 4.938 kB / 296.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.006492, allocations: 150.2 kB / 296.7 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.00651, allocations: 4.375 kB / 296.7 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.006529, allocations: 12.36 kB / 296.7 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.006656, allocations: 57.77 kB / 296.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.006668, allocations: 3.938 kB / 296.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.006676, allocations: 4 kB / 296.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.006683, allocations: 4 kB / 296.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.689e-05/0.00671, allocations: 7.984 kB / 296.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.006917, allocations: 161.9 kB / 296.9 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.797e-05/0.007015, allocations: 89.34 kB / 297 MB, free: 1.852 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.066e-05/0.007035, allocations: 20.84 kB / 297 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.007046, allocations: 0 / 297 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/0.007149, allocations: 62.16 kB / 297.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.007151, allocations: 0 / 297.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.00029/0.007441, allocations: 113.5 kB / 297.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.007473, allocations: 55.39 kB / 297.2 MB, free: 1.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.007576, allocations: 177.3 kB / 297.4 MB, free: 1.383 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.007591, allocations: 29.7 kB / 297.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.00763, allocations: 100 kB / 297.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.007655, allocations: 19.84 kB / 297.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.007694, allocations: 33.64 kB / 297.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.725e-05/0.007781, allocations: 326.8 kB / 297.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.007797, allocations: 6.828 kB / 297.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.762e-05/0.007825, allocations: 29.7 kB / 297.9 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.05e-05/0.007865, allocations: 36.52 kB / 298 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.007867, allocations: 4 kB / 298 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.036e-05/0.007947, allocations: 72.44 kB / 298.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.007958, allocations: 8 kB / 298.1 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.007963, allocations: 0 / 298.1 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.007972, allocations: 4.031 kB / 298.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.296e-05/0.008045, allocations: 19.98 kB / 298.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.008048, allocations: 3.938 kB / 298.1 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.955e-05/0.008078, allocations: 8 kB / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.008083, allocations: 0 / 298.1 MB, free: 0.6484 MB / 282.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 7.763e-05/0.008161, allocations: 120.6 kB / 298.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.008178, allocations: 15.94 kB / 298.2 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.008292, allocations: 75.06 kB / 298.3 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.008297, allocations: 3.984 kB / 298.3 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.008298, allocations: 0 / 298.3 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.008302, allocations: 4 kB / 298.3 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.008548, allocations: 299.4 kB / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.00855, allocations: 0 / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/0.008584, allocations: 15.98 kB / 298.6 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.008599, allocations: 11.95 kB / 298.6 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.008602, allocations: 384 / 298.6 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-06/0.008607, allocations: 0 / 298.6 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.008609, allocations: 4 kB / 298.6 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.008611, allocations: 4 kB / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.008745, allocations: 227 kB / 298.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.00876, allocations: 0 / 298.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.878e-05/0.008798, allocations: 4 kB / 298.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.008826, allocations: 11.98 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.008837, allocations: 0 / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.43e-05/0.008882, allocations: 51.64 kB / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008882, allocations: 3.938 kB / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001485/0.00903, allocations: 20 kB / 298.9 MB, free: 15.73 MB / 298.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.001448/0.01048, allocations: 0.6343 MB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.01059, allocations: 40.78 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.0106, allocations: 7.984 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.486e-05/0.01064, allocations: 24.94 kB / 299.7 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.01082, allocations: 51.28 kB / 299.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.01128, allocations: 219.7 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.283e-05/0.01132, allocations: 67.33 kB / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.806e-05/0.01136, allocations: 12.97 kB / 300 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.291e-05/0.01142, allocations: 67.31 kB / 300.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01142, allocations: 0 / 300.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of Templates: time 0.003704/0.01512, allocations: 2.052 MB / 302.1 MB, free: 12.88 MB / 298.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 -ignoreHideResult -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.0800366466864944]