Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008984/0.0008984, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004132/0.00503, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008142/0.0008142, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003886/0.004701, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9465/0.9465, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1599/1.106, allocations: 52.49 MB / 238.5 MB, free: 7.609 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1457/0.1457, allocations: 32.8 MB / 272 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02174/0.1675, allocations: 12.53 MB / 284.5 MB, free: 9.695 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 285.9 MB, free: 8.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.557e-05, allocations: 5.547 kB / 285.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002264/0.00228, allocations: 1.984 MB / 287.9 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.003454, allocations: 0.9232 MB / 288.8 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.00356, allocations: 0 / 288.8 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.003774, allocations: 43.64 kB / 288.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.003921, allocations: 59.58 kB / 288.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.004215, allocations: 135.5 kB / 289.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.004417, allocations: 143.5 kB / 289.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.004519, allocations: 22.27 kB / 289.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.004673, allocations: 104.5 kB / 289.3 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.933e-05/0.004763, allocations: 35.83 kB / 289.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.004784, allocations: 8 kB / 289.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.908e-05/0.004873, allocations: 51.86 kB / 289.4 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.004923, allocations: 19.88 kB / 289.4 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.004965, allocations: 23.94 kB / 289.5 MB, free: 4.754 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.005186, allocations: 115.6 kB / 289.6 MB, free: 4.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.005196, allocations: 3.938 kB / 289.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005197, allocations: 4 kB / 289.6 MB, free: 4.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.005208, allocations: 0 / 289.6 MB, free: 4.633 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005108/0.005719, allocations: 397.3 kB / 290 MB, free: 4.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.698e-05/0.005786, allocations: 12.03 kB / 290 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.005826, allocations: 16.92 kB / 290 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.005984, allocations: 161.5 kB / 290.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.006001, allocations: 4.375 kB / 290.2 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.006027, allocations: 16.06 kB / 290.2 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.006176, allocations: 133.4 kB / 290.3 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.006183, allocations: 0 / 290.3 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.006192, allocations: 4 kB / 290.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.006199, allocations: 4 kB / 290.3 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.498e-05/0.006234, allocations: 26.73 kB / 290.3 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.006551, allocations: 374.1 kB / 290.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.006704, allocations: 109.2 kB / 290.8 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.975e-05/0.006794, allocations: 20.86 kB / 290.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.006806, allocations: 3.984 kB / 290.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/0.006914, allocations: 95.91 kB / 290.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.006915, allocations: 0 / 290.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001374/0.007052, allocations: 73.59 kB / 291 MB, free: 3.066 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.007075, allocations: 55.41 kB / 291.1 MB, free: 3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.00718, allocations: 178.5 kB / 291.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.007195, allocations: 29.7 kB / 291.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.00724, allocations: 115.9 kB / 291.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.007258, allocations: 23.84 kB / 291.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.00729, allocations: 33.66 kB / 291.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.786e-05/0.007368, allocations: 330.7 kB / 291.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.007387, allocations: 14.81 kB / 291.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.012e-05/0.007417, allocations: 40.28 kB / 291.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.96e-05/0.007476, allocations: 73.86 kB / 291.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.007478, allocations: 0 / 291.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.786e-05/0.007566, allocations: 88.36 kB / 292 MB, free: 2.008 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.007578, allocations: 8 kB / 292 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.007581, allocations: 0 / 292 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.007594, allocations: 4 kB / 292 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.429e-05/0.007668, allocations: 35.86 kB / 292 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.007673, allocations: 0 / 292 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.224e-05/0.007705, allocations: 7.938 kB / 292 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.007714, allocations: 11.92 kB / 292 MB, free: 1.941 MB / 282.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 6.242e-05/0.007777, allocations: 116.7 kB / 292.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.007792, allocations: 24.05 kB / 292.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.232e-05/0.007885, allocations: 67.61 kB / 292.2 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007887, allocations: 0 / 292.2 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.007888, allocations: 0 / 292.2 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.007893, allocations: 7.984 kB / 292.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.879e-05/0.007992, allocations: 109.7 kB / 292.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.007993, allocations: 4 kB / 292.4 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.008047, allocations: 19.92 kB / 292.4 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.008061, allocations: 7.953 kB / 292.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.008062, allocations: 0 / 292.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.008071, allocations: 4 kB / 292.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.008072, allocations: 0 / 292.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.008074, allocations: 0 / 292.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.0082, allocations: 126.6 kB / 292.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.008217, allocations: 8 kB / 292.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.334e-05/0.00824, allocations: 4 kB / 292.5 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.008268, allocations: 3.984 kB / 292.5 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.008385, allocations: 15.98 kB / 292.5 MB, free: 1.379 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.452e-05/0.008429, allocations: 49.55 kB / 292.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008429, allocations: 0 / 292.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001358/0.008565, allocations: 27.95 kB / 292.6 MB, free: 1.301 MB / 282.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.001347/0.009912, allocations: 0.5599 MB / 293.2 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.01002, allocations: 56.7 kB / 293.2 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/0.01003, allocations: 4 kB / 293.2 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.133e-05/0.01007, allocations: 28.78 kB / 293.3 MB, free: 0.918 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.01028, allocations: 248.8 kB / 293.5 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.0108, allocations: 257.6 kB / 293.8 MB, free: 368 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.349e-05/0.01084, allocations: 67.83 kB / 293.8 MB, free: 280 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.516e-05/0.01089, allocations: 17.14 kB / 293.8 MB, free: 260 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.555e-05/0.01097, allocations: 75.36 kB / 293.9 MB, free: 184 kB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01097, allocations: 0 / 293.9 MB, free: 184 kB / 282.7 MB Notification: Performance of Templates: time 0.004112/0.01508, allocations: 2.232 MB / 296.2 MB, free: 13.99 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9485620968043804]