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.001074/0.001074, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001178/0.001178, allocations: 164.8 kB / 24.82 MB, free: 8.938 MB / 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.001/1.001, allocations: 177.2 MB / 205.3 MB, free: 5.516 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.3431/0.3431, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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.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 2.234e-06/2.234e-06, allocations: 3.938 kB / 378.6 MB, free: 2.312 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.218e-05/4.441e-05, allocations: 2.312 kB / 378.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003883/0.003927, allocations: 1.762 MB / 380.4 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.00537, allocations: 1.005 MB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.716e-05/0.005467, allocations: 3.938 kB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003334/0.005801, allocations: 43.7 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.006114, allocations: 99.53 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.006314, allocations: 87.53 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.00653, allocations: 115.6 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.006643, allocations: 4 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.006752, allocations: 59.77 kB / 381.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.006853, allocations: 39.89 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.006873, allocations: 4 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.007051, allocations: 99.88 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.007114, allocations: 27.91 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.007153, allocations: 23.86 kB / 382 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.007425, allocations: 167.4 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.007431, allocations: 4 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.007432, allocations: 0 / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.007438, allocations: 0 / 382.1 MB, free: 14.76 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.0005444/0.007983, allocations: 463.7 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.008032, allocations: 15.97 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.008079, allocations: 12.84 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.008269, allocations: 151.3 kB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.008287, allocations: 384 / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.00831, allocations: 8.375 kB / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.008479, allocations: 116 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.00849, allocations: 3.938 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.008498, allocations: 0 / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.008506, allocations: 4 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.832e-05/0.008534, allocations: 11.92 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.008813, allocations: 244.5 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.008923, allocations: 55.08 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.008949, allocations: 19.81 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.008967, allocations: 3.984 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/0.009081, allocations: 80.91 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.009082, allocations: 0 / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003826/0.009465, allocations: 153.8 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.009505, allocations: 81.11 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.00963, allocations: 209.8 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.009646, allocations: 29.7 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.0097, allocations: 150.8 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.00973, allocations: 35.69 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.009767, allocations: 35.3 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.009891, allocations: 0.4962 MB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.307e-05/0.009914, allocations: 15.94 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.031e-05/0.009964, allocations: 72.73 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.858e-05/0.01003, allocations: 51.36 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01004, allocations: 3.938 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000133/0.01017, allocations: 93.56 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.01019, allocations: 4 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.01019, allocations: 4.078 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.01021, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.624e-05/0.01031, allocations: 24.05 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.01031, allocations: 11.86 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.683e-05/0.01035, allocations: 8 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.01036, allocations: 4 kB / 384.8 MB, free: 11.88 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 0.0001037/0.01046, allocations: 164.5 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.01048, allocations: 15.91 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.01064, allocations: 102.4 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01064, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.01064, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.01065, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.01094, allocations: 389.5 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01095, allocations: 0 / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/0.01098, allocations: 12 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01099, allocations: 0 / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.01099, allocations: 0 / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01099, allocations: 7.938 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.011, allocations: 3.984 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.01114, allocations: 263.5 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.01116, allocations: 7.953 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.01118, allocations: 8 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.099e-05/0.01123, allocations: 4.031 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.01126, allocations: 7.984 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.01127, allocations: 7.984 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.174e-05/0.01134, allocations: 161.6 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01134, allocations: 0 / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002079/0.01155, allocations: 55.8 kB / 385.9 MB, free: 10.62 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.001179/0.01273, allocations: 0.5445 MB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.01285, allocations: 63.53 kB / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01285, allocations: 0 / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.727e-05/0.01288, allocations: 35.55 kB / 386.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.01311, allocations: 45.27 kB / 386.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.01344, allocations: 218 kB / 386.8 MB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.248e-05/0.01349, allocations: 67.34 kB / 386.9 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.6e-05/0.01353, allocations: 20.62 kB / 386.9 MB, free: 9.781 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.775e-05/0.01363, allocations: 102.3 kB / 387 MB, free: 9.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.01363, allocations: 0 / 387 MB, free: 9.68 MB / 362.7 MB Notification: Performance of Templates: time 0.004794/0.01842, allocations: 2.931 MB / 390 MB, free: 6.777 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.415349910967052]