Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.001447/0.001447, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.001519/0.001519, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.114/1.114, allocations: 158.6 MB / 186 MB, free: 2.668 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1358/0.1358, allocations: 32.37 MB / 270.7 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 347.7 MB, free: 9.688 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.387e-05/3.574e-05, allocations: 6.25 kB / 347.8 MB, free: 9.68 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002222/0.002258, allocations: 1.73 MB / 349.5 MB, free: 7.938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.003659, allocations: 1.513 MB / 351 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.351e-05/0.003742, allocations: 3.938 kB / 351 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.004028, allocations: 35.83 kB / 351 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.004245, allocations: 63.62 kB / 351.1 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.004426, allocations: 91.7 kB / 351.2 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.004549, allocations: 95.69 kB / 351.3 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.375e-05/0.004633, allocations: 8.219 kB / 351.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.252e-05/0.004706, allocations: 55.78 kB / 351.3 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.835e-05/0.004804, allocations: 31.89 kB / 351.4 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.004822, allocations: 4 kB / 351.4 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.042e-05/0.004913, allocations: 59.91 kB / 351.4 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.568e-05/0.004958, allocations: 23.91 kB / 351.5 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.004993, allocations: 15.94 kB / 351.5 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.005161, allocations: 111.6 kB / 351.6 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.005163, allocations: 7.938 kB / 351.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005164, allocations: 0 / 351.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.005169, allocations: 3.938 kB / 351.6 MB, free: 5.812 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.0003475/0.005516, allocations: 436 kB / 352 MB, free: 5.352 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.005552, allocations: 8.031 kB / 352 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.005596, allocations: 8.891 kB / 352 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.005729, allocations: 144.5 kB / 352.2 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.005748, allocations: 384 / 352.2 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.005769, allocations: 8.375 kB / 352.2 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.005901, allocations: 108 kB / 352.3 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.005911, allocations: 7.938 kB / 352.3 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.005919, allocations: 4 kB / 352.3 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.005926, allocations: 0 / 352.3 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.381e-05/0.005959, allocations: 11.98 kB / 352.3 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.006196, allocations: 271.8 kB / 352.6 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.006298, allocations: 59.09 kB / 352.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/0.006326, allocations: 15.62 kB / 352.7 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.006342, allocations: 4 kB / 352.7 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.775e-05/0.006429, allocations: 65.05 kB / 352.7 MB, free: 4.535 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.00643, allocations: 4 kB / 352.7 MB, free: 4.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.00036/0.00679, allocations: 157.5 kB / 352.9 MB, free: 4.371 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.006819, allocations: 81.11 kB / 353 MB, free: 4.273 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.488e-05/0.006914, allocations: 205.2 kB / 353.2 MB, free: 4.059 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.006922, allocations: 29.64 kB / 353.2 MB, free: 4.023 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.006955, allocations: 138.9 kB / 353.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.006977, allocations: 27.78 kB / 353.3 MB, free: 3.855 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.007009, allocations: 31.38 kB / 353.4 MB, free: 3.816 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.007059, allocations: 0.4962 MB / 353.9 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.007079, allocations: 12 kB / 353.9 MB, free: 3.297 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.624e-05/0.007116, allocations: 76.69 kB / 354 MB, free: 3.203 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.055e-05/0.007166, allocations: 55.28 kB / 354 MB, free: 3.141 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.007167, allocations: 0 / 354 MB, free: 3.141 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.663e-05/0.007254, allocations: 93.53 kB / 354.1 MB, free: 3.043 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.007263, allocations: 4 kB / 354.1 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.007269, allocations: 4 kB / 354.1 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.00728, allocations: 0 / 354.1 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.023e-05/0.00734, allocations: 15.98 kB / 354.1 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.007345, allocations: 0 / 354.1 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.602e-05/0.007372, allocations: 8.062 kB / 354.1 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.007378, allocations: 4 kB / 354.1 MB, free: 3.008 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 5.299e-05/0.007431, allocations: 174.7 kB / 354.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.007444, allocations: 7.953 kB / 354.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.007569, allocations: 106.5 kB / 354.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.007571, allocations: 0 / 354.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.007574, allocations: 0 / 354.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.007579, allocations: 3.984 kB / 354.4 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.007801, allocations: 385 kB / 354.8 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.007803, allocations: 4.031 kB / 354.8 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.007824, allocations: 12 kB / 354.8 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.007826, allocations: 3.984 kB / 354.8 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.007834, allocations: 0 / 354.8 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.007836, allocations: 4 kB / 354.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.007837, allocations: 0 / 354.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.007945, allocations: 259.4 kB / 355.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-06/0.007955, allocations: 11.94 kB / 355.1 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.007971, allocations: 4 kB / 355.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.814e-05/0.00801, allocations: 4 kB / 355.1 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.008041, allocations: 11.98 kB / 355.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.008051, allocations: 4 kB / 355.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.743e-05/0.008099, allocations: 162.3 kB / 355.3 MB, free: 1.793 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008099, allocations: 0 / 355.3 MB, free: 1.793 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001765/0.008275, allocations: 31.94 kB / 355.3 MB, free: 1.762 MB / 282.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.0009397/0.009215, allocations: 498.6 kB / 355.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.009326, allocations: 47.66 kB / 355.8 MB, free: 1.316 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.009328, allocations: 7.938 kB / 355.8 MB, free: 1.309 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.009364, allocations: 27.67 kB / 355.9 MB, free: 1.277 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.009586, allocations: 35.83 kB / 355.9 MB, free: 1.242 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.009866, allocations: 197 kB / 356.1 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.968e-05/0.009896, allocations: 71.25 kB / 356.2 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.448e-05/0.009931, allocations: 16.61 kB / 356.2 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.00996, allocations: 16.5 kB / 356.2 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.00996, allocations: 0 / 356.2 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of Templates: time 0.003389/0.01335, allocations: 2.138 MB / 358.3 MB, free: 14.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.3871128940954804]