Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001401/0.001401, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00162/0.00162, allocations: 161 kB / 24.56 MB, free: 16 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.022/1.022, allocations: 177.1 MB / 205 MB, free: 5.582 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.2933/0.2933, allocations: 34.26 MB / 295.7 MB, free: 0.7656 MB / 266.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.047e-05, allocations: 2.312 kB / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003259/0.00329, allocations: 1.77 MB / 379.9 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.004603, allocations: 1.033 MB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.873e-05/0.004682, allocations: 0 / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.004982, allocations: 43.7 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.005318, allocations: 91.53 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.005554, allocations: 87.53 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.005731, allocations: 111.6 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.56e-05/0.005827, allocations: 11.98 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.862e-05/0.005925, allocations: 63.77 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.347e-05/0.006019, allocations: 35.89 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.006039, allocations: 4 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.006209, allocations: 103.9 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.006258, allocations: 19.86 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.006301, allocations: 27.91 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.006565, allocations: 163.4 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.006569, allocations: 4 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.00657, allocations: 0 / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.006575, allocations: 0 / 381.7 MB, free: 14.99 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.0004954/0.007071, allocations: 459.7 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.007112, allocations: 12.03 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.36e-05/0.007176, allocations: 16.84 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.007368, allocations: 156.3 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.007387, allocations: 384 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.007413, allocations: 12.31 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.007581, allocations: 108 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.007592, allocations: 3.938 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.007602, allocations: 0 / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.00761, allocations: 0 / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.535e-05/0.007645, allocations: 11.98 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.007957, allocations: 275.8 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.008077, allocations: 59.05 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.326e-05/0.008111, allocations: 19.67 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.008134, allocations: 7.938 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/0.008236, allocations: 65.17 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.008237, allocations: 0 / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004162/0.008654, allocations: 185.5 kB / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.008693, allocations: 81.11 kB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.008845, allocations: 220.1 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.008859, allocations: 29.7 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.008909, allocations: 146.8 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.008941, allocations: 39.62 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.00898, allocations: 35.38 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.009102, allocations: 0.5 MB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.447e-05/0.009136, allocations: 15.98 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.254e-05/0.009189, allocations: 76.75 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.115e-05/0.00926, allocations: 59.3 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.009262, allocations: 32 / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001278/0.009389, allocations: 101.6 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.009405, allocations: 8 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.009409, allocations: 0 / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.009424, allocations: 0 / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.692e-05/0.009501, allocations: 23.92 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.009507, allocations: 4 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.251e-05/0.00954, allocations: 4 kB / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.009547, allocations: 4 kB / 384.4 MB, free: 12.04 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 (13): * Single equations (assignments): 13 * 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 7.979e-05/0.009627, allocations: 175.7 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.009647, allocations: 19.94 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001697/0.009816, allocations: 114.5 kB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.009819, allocations: 0 / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.009823, allocations: 0 / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.009826, allocations: 0 / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.01015, allocations: 404.9 kB / 385.1 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.01015, allocations: 0 / 385.1 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/0.01019, allocations: 12 kB / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.01019, allocations: 7.984 kB / 385.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.0102, allocations: 32 / 385.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.0102, allocations: 4 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.0102, allocations: 3.938 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.01036, allocations: 271.4 kB / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.01038, allocations: 7.953 kB / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.0104, allocations: 7.984 kB / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.575e-05/0.01044, allocations: 4 kB / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.01048, allocations: 11.92 kB / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.01049, allocations: 4 kB / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.264e-05/0.01057, allocations: 162 kB / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01057, allocations: 0 / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002362/0.01081, allocations: 55.86 kB / 385.6 MB, free: 10.71 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 (11): * Single equations (assignments): 9 * 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.001304/0.01211, allocations: 0.5429 MB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.01229, allocations: 67.59 kB / 386.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.0123, allocations: 0 / 386.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.143e-05/0.01235, allocations: 39.61 kB / 386.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.01259, allocations: 32.11 kB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006248/0.01322, allocations: 230 kB / 386.5 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.145e-05/0.01326, allocations: 63.34 kB / 386.6 MB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.139e-05/0.01331, allocations: 28.61 kB / 386.6 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.01335, allocations: 20.5 kB / 386.6 MB, free: 9.84 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01335, allocations: 0 / 386.6 MB, free: 9.84 MB / 362.7 MB Notification: Performance of Templates: time 0.004432/0.01778, allocations: 2.673 MB / 389.3 MB, free: 7.203 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.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.599925476126373]