Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.002484/0.002484, allocations: 83.69 kB / 20.96 MB, free: 3.316 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.00299/0.00299, allocations: 161.3 kB / 24.27 MB, free: 8 kB / 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 1.724/1.724, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.4681/0.4681, allocations: 34.26 MB / 295.3 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.356e-05/3.535e-05, allocations: 5.406 kB / 377.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.00348/0.003515, allocations: 1.739 MB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.005578, allocations: 0.9975 MB / 380.1 MB, free: 120 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.535e-05/0.005653, allocations: 0 / 380.1 MB, free: 120 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.005982, allocations: 47.62 kB / 380.2 MB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000369/0.006351, allocations: 103.7 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.00657, allocations: 75.67 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.006781, allocations: 111.6 kB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.429e-05/0.006875, allocations: 7.984 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.007003, allocations: 51.84 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.378e-05/0.007097, allocations: 35.83 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.00712, allocations: 4 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.007226, allocations: 39.94 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.977e-05/0.007296, allocations: 23.91 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.007348, allocations: 23.92 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.007597, allocations: 119.6 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.007603, allocations: 3.984 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007604, allocations: 0 / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.00761, allocations: 0 / 380.7 MB, free: 15.48 MB / 362.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.0006976/0.008308, allocations: 451.5 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.008349, allocations: 15.95 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.586e-05/0.008415, allocations: 16.84 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.008676, allocations: 160.9 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.008688, allocations: 384 / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.00871, allocations: 8.375 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.008854, allocations: 54.23 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.008868, allocations: 3.938 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.008877, allocations: 0 / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.008881, allocations: 0 / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.93e-05/0.00896, allocations: 19.98 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.009402, allocations: 295.8 kB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.009586, allocations: 59.17 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.272e-05/0.009649, allocations: 27.61 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.009664, allocations: 0 / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003925/0.01006, allocations: 80.98 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.01006, allocations: 0 / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000608/0.01067, allocations: 185.3 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.01072, allocations: 51.41 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.01098, allocations: 253.8 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.011, allocations: 29.7 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.01113, allocations: 154.9 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.01117, allocations: 31.8 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/0.01123, allocations: 35.36 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002829/0.01151, allocations: 0.4962 MB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.917e-05/0.01157, allocations: 20 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.506e-05/0.01166, allocations: 47.73 kB / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.01179, allocations: 71.23 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.01179, allocations: 0 / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002221/0.01201, allocations: 105.7 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.01203, allocations: 6.031 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.01204, allocations: 0 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.01205, allocations: 11.92 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.01215, allocations: 15.98 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.01215, allocations: 0 / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.0122, allocations: 8.031 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.01221, allocations: 4 kB / 383.4 MB, free: 12.58 MB / 362.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 0.0001441/0.01236, allocations: 172.5 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.01239, allocations: 15.91 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.01266, allocations: 119 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01266, allocations: 0 / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01266, allocations: 0 / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01267, allocations: 0 / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000575/0.01324, allocations: 424.9 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.01325, allocations: 8.031 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.01329, allocations: 8 kB / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.01329, allocations: 0 / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.0133, allocations: 0 / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.0133, allocations: 7.938 kB / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0133, allocations: 0 / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.01363, allocations: 267.4 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.01365, allocations: 15.89 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.01368, allocations: 8 kB / 384.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.556e-05/0.01374, allocations: 0 / 384.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.01378, allocations: 7.984 kB / 384.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.0138, allocations: 11.94 kB / 384.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001833/0.01398, allocations: 192.1 kB / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01398, allocations: 4 kB / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002509/0.01423, allocations: 20 kB / 384.7 MB, free: 11.24 MB / 362.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.003266/0.0175, allocations: 496.3 kB / 385.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.01772, allocations: 67.59 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01772, allocations: 0 / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.01783, allocations: 39.61 kB / 385.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.01822, allocations: 47.48 kB / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005722/0.0188, allocations: 233.9 kB / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.01892, allocations: 96.94 kB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.584e-05/0.01898, allocations: 16.97 kB / 385.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.01902, allocations: 20.5 kB / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01902, allocations: 0 / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of Templates: time 0.005724/0.02475, allocations: 1.863 MB / 387.5 MB, free: 8.555 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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: 5.327551629976369]