Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.001389/0.001389, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00149/0.00149, allocations: 164.5 kB / 23.95 MB, free: 4.168 MB / 14.72 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.509/1.509, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.2202/0.2202, allocations: 34.28 MB / 295 MB, free: 14.57 MB / 286.1 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 442.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.06e-05, allocations: 2.281 kB / 442.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003455/0.003486, allocations: 1.72 MB / 444.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.00538, allocations: 0.9781 MB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.005482, allocations: 7.938 kB / 445.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.005808, allocations: 39.83 kB / 445.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003694/0.006177, allocations: 91.53 kB / 445.6 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.006415, allocations: 83.55 kB / 445.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.006638, allocations: 119.5 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.006747, allocations: 4 kB / 445.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.00687, allocations: 59.83 kB / 445.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.743e-05/0.006957, allocations: 23.91 kB / 445.9 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.006982, allocations: 8 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.007088, allocations: 39.98 kB / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.819e-05/0.007157, allocations: 19.92 kB / 445.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.083e-05/0.007217, allocations: 31.84 kB / 446 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.007474, allocations: 127.5 kB / 446.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.007481, allocations: 3.984 kB / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.007482, allocations: 0 / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.007487, allocations: 0 / 446.1 MB, free: 1.938 MB / 366.1 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.0006708/0.008158, allocations: 357.5 kB / 446.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.008198, allocations: 8.031 kB / 446.5 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.008248, allocations: 16.84 kB / 446.5 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.008523, allocations: 154.3 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.008537, allocations: 384 / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.008567, allocations: 12.31 kB / 446.6 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.008734, allocations: 58.17 kB / 446.7 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.008749, allocations: 3.938 kB / 446.7 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.008762, allocations: 4 kB / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.008767, allocations: 0 / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.887e-05/0.008856, allocations: 27.97 kB / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.009257, allocations: 232.6 kB / 447 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.009463, allocations: 62.61 kB / 447 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.496e-05/0.009528, allocations: 20.8 kB / 447 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.009547, allocations: 0 / 447 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.009719, allocations: 71.38 kB / 447.1 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.00972, allocations: 0 / 447.1 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000661/0.01038, allocations: 189.5 kB / 447.3 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.01044, allocations: 59.41 kB / 447.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.01072, allocations: 239.6 kB / 447.6 MB, free: 316 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.01075, allocations: 25.7 kB / 447.6 MB, free: 284 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.01083, allocations: 116.1 kB / 447.7 MB, free: 164 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.01087, allocations: 27.78 kB / 447.8 MB, free: 136 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.01091, allocations: 17.72 kB / 447.8 MB, free: 112 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2175/0.2284, allocations: 327.4 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.2286, allocations: 18.09 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.503e-05/0.2287, allocations: 42.8 kB / 448.2 MB, free: 19.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.2289, allocations: 64.36 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.2289, allocations: 0.7969 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002989/0.2292, allocations: 106.7 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.2292, allocations: 5.703 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.2292, allocations: 4.844 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.2292, allocations: 1.156 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.2293, allocations: 20.38 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.2293, allocations: 2.328 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.2294, allocations: 1.922 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.2294, allocations: 6.625 kB / 448.4 MB, free: 18.98 MB / 366.1 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 0.0001267/0.2296, allocations: 129.4 kB / 448.5 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.2296, allocations: 13.73 kB / 448.5 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.2299, allocations: 125.4 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.2299, allocations: 9.234 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2299, allocations: 5 kB / 448.6 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2299, allocations: 0.9844 kB / 448.6 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.2304, allocations: 354.8 kB / 449 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2304, allocations: 1.594 kB / 449 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.2304, allocations: 14.66 kB / 449 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2304, allocations: 1.156 kB / 449 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.2304, allocations: 5.703 kB / 449 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2304, allocations: 5.031 kB / 449 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2304, allocations: 0.6094 kB / 449 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.2307, allocations: 214.6 kB / 449.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.2307, allocations: 13.86 kB / 449.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.2307, allocations: 6.078 kB / 449.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.2308, allocations: 3.234 kB / 449.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.2308, allocations: 7.109 kB / 449.3 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.2309, allocations: 7.969 kB / 449.3 MB, free: 18.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.231, allocations: 175.6 kB / 449.4 MB, free: 18.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.231, allocations: 1.5 kB / 449.4 MB, free: 18.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.2313, allocations: 31.66 kB / 449.5 MB, free: 18.37 MB / 366.1 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.00184/0.2331, allocations: 499.6 kB / 450 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.2333, allocations: 60.5 kB / 450 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2333, allocations: 0 / 450 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.616e-05/0.2334, allocations: 39.62 kB / 450.1 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.2338, allocations: 35.25 kB / 450.1 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.2343, allocations: 264 kB / 450.3 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.2344, allocations: 100.2 kB / 450.4 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.65e-05/0.2345, allocations: 16.97 kB / 450.5 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.2345, allocations: 17.17 kB / 450.5 MB, free: 17.93 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2345, allocations: 1.062 kB / 450.5 MB, free: 17.93 MB / 366.1 MB Notification: Performance of Templates: time 0.006992/0.2415, allocations: 1.857 MB / 452.3 MB, free: 17.68 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9236125610768795]