Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.00133/0.00133, allocations: 80.31 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.00105/0.00105, allocations: 174.8 kB / 25.61 MB, free: 8.926 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.9146/0.9146, allocations: 177.1 MB / 206.1 MB, free: 4.492 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.1696/0.1696, allocations: 34.26 MB / 296.9 MB, free: 13.95 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 379.4 MB, free: 23.37 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.263e-05, allocations: 6.25 kB / 379.4 MB, free: 23.36 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002903/0.002925, allocations: 1.946 MB / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.004379, allocations: 1.032 MB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.004505, allocations: 7.938 kB / 382.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.004834, allocations: 43.7 kB / 382.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.005181, allocations: 99.41 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.005483, allocations: 95.59 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.005719, allocations: 163.5 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.005829, allocations: 13.81 kB / 382.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.005951, allocations: 83.73 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.609e-05/0.006047, allocations: 31.89 kB / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.006068, allocations: 8 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.006169, allocations: 47.92 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.006224, allocations: 35.84 kB / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.71e-05/0.006271, allocations: 31.86 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.006499, allocations: 127.5 kB / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.006502, allocations: 4 kB / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006503, allocations: 0 / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.006507, allocations: 0 / 383.1 MB, free: 19.58 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000478/0.006985, allocations: 0.4973 MB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.007021, allocations: 8.031 kB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.007075, allocations: 24.84 kB / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.007267, allocations: 177.1 kB / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.007286, allocations: 4.375 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.007308, allocations: 8.375 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.007484, allocations: 139.6 kB / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.007494, allocations: 3.938 kB / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.007509, allocations: 8 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.007515, allocations: 0 / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.136e-05/0.007567, allocations: 27.34 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.007935, allocations: 0.5527 MB / 384.6 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.008116, allocations: 71.08 kB / 384.6 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.153e-05/0.008147, allocations: 19.69 kB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.008159, allocations: 3.984 kB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/0.008265, allocations: 94.75 kB / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.008267, allocations: 0 / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002014/0.008468, allocations: 101.5 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.928e-05/0.008487, allocations: 55.39 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.008604, allocations: 252.8 kB / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.008616, allocations: 29.7 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.008667, allocations: 170.7 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.008688, allocations: 27.77 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.00873, allocations: 39.34 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.008778, allocations: 0.5 MB / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.008804, allocations: 11.98 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.703e-05/0.008841, allocations: 54.42 kB / 386 MB, free: 16.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.049e-05/0.008911, allocations: 86.67 kB / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.008914, allocations: 0 / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001383/0.009052, allocations: 109.4 kB / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.009065, allocations: 8 kB / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.00907, allocations: 0 / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.00908, allocations: 0 / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.207e-05/0.009162, allocations: 31.92 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.009166, allocations: 0 / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.36e-05/0.009219, allocations: 16.06 kB / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.009226, allocations: 0 / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.571e-05/0.009282, allocations: 172.4 kB / 386.4 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.009306, allocations: 23.91 kB / 386.4 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.009453, allocations: 99.05 kB / 386.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.009455, allocations: 4 kB / 386.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.009457, allocations: 3.984 kB / 386.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.00946, allocations: 0 / 386.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.00956, allocations: 145.1 kB / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.009562, allocations: 0 / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.059e-05/0.009622, allocations: 16 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.009626, allocations: 4 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.009635, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.009637, allocations: 3.984 kB / 386.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.009638, allocations: 0 / 386.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.009806, allocations: 148.2 kB / 386.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.679e-05/0.009823, allocations: 11.91 kB / 386.8 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.009843, allocations: 3.984 kB / 386.8 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.393e-05/0.009887, allocations: 11.94 kB / 386.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.009915, allocations: 7.984 kB / 386.9 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.009929, allocations: 8.031 kB / 386.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.895e-05/0.009988, allocations: 167.1 kB / 387 MB, free: 15.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009988, allocations: 0 / 387 MB, free: 15.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002568/0.01025, allocations: 27.94 kB / 387.1 MB, free: 15.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001042/0.01129, allocations: 381.9 kB / 387.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.01141, allocations: 59.52 kB / 387.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01142, allocations: 0 / 387.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.582e-05/0.01146, allocations: 31.61 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.01173, allocations: 48.5 kB / 387.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.0121, allocations: 258.1 kB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.963e-05/0.01213, allocations: 75.83 kB / 387.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.72e-05/0.01219, allocations: 13.48 kB / 387.9 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.228e-05/0.01228, allocations: 94.19 kB / 388 MB, free: 14.43 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01228, allocations: 0 / 388 MB, free: 14.43 MB / 314.7 MB Notification: Performance of Templates: time 0.004731/0.01701, allocations: 2.292 MB / 390.3 MB, free: 12.18 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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: 2.9824468763545156]