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.00141/0.00141, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.00111/0.00111, allocations: 165 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 0.9737/0.9737, allocations: 177.1 MB / 205 MB, free: 5.625 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.2558/0.2558, allocations: 34.26 MB / 295.7 MB, free: 0.7734 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.683e-06/1.683e-06, allocations: 3.938 kB / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.946e-05, allocations: 6.25 kB / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002893/0.002923, allocations: 1.773 MB / 379.9 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.004385, allocations: 1.025 MB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.691e-05/0.004462, allocations: 0 / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.004758, allocations: 47.64 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.005123, allocations: 91.53 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.005372, allocations: 91.53 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.005565, allocations: 111.6 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.959e-05/0.005655, allocations: 4 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.005761, allocations: 67.75 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.698e-05/0.005848, allocations: 35.89 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.005867, allocations: 4 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.006065, allocations: 103.9 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.006116, allocations: 15.92 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.865e-05/0.006165, allocations: 31.86 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.006458, allocations: 167.4 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.006462, allocations: 0 / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.006464, allocations: 4 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.00647, 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.0005614/0.007031, allocations: 455.7 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.007071, allocations: 15.95 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.234e-05/0.007134, allocations: 16.84 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.007341, allocations: 155.3 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.00736, allocations: 384 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.007382, allocations: 8.375 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.007554, allocations: 108 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.007565, allocations: 3.938 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.007576, allocations: 3.984 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.007584, allocations: 0 / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.761e-05/0.007622, allocations: 11.94 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.007947, allocations: 279.8 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.008081, allocations: 55.11 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.605e-05/0.008117, allocations: 19.67 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.008131, allocations: 11.94 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/0.008243, allocations: 69.11 kB / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.008245, allocations: 0 / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000473/0.008718, allocations: 177.5 kB / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.008762, allocations: 77.11 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.008925, allocations: 217.9 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.008943, allocations: 29.7 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.008997, allocations: 142.9 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.009032, allocations: 35.69 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.009083, allocations: 39.36 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.009209, allocations: 0.5039 MB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.729e-05/0.009247, allocations: 19.92 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.356e-05/0.00931, allocations: 76.75 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.411e-05/0.009394, allocations: 51.38 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.009396, allocations: 0 / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001661/0.009562, allocations: 105.6 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.009579, allocations: 8 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.009584, allocations: 0 / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.009602, allocations: 8.047 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.252e-05/0.009695, allocations: 19.98 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.009705, allocations: 7.938 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.009753, allocations: 7.938 kB / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.009762, 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 0.000398/0.01016, allocations: 164.5 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.01019, allocations: 19.89 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.01038, allocations: 110.4 kB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.01039, allocations: 0 / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01039, allocations: 0 / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.01039, allocations: 4 kB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.01077, allocations: 404.9 kB / 385.1 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01078, allocations: 0 / 385.1 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.01082, allocations: 12 kB / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.01082, allocations: 4 kB / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.01083, allocations: 0 / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.01083, allocations: 7.922 kB / 385.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01084, allocations: 0 / 385.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.01102, allocations: 271.4 kB / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.538e-05/0.01104, allocations: 7.953 kB / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.01106, allocations: 8.031 kB / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.546e-05/0.01113, allocations: 7.984 kB / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.01116, allocations: 7.938 kB / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.01118, allocations: 7.984 kB / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.515e-05/0.01126, allocations: 161.6 kB / 385.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01126, allocations: 0 / 385.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003013/0.01156, allocations: 51.86 kB / 385.6 MB, free: 10.72 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.001376/0.01294, allocations: 0.5472 MB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.01311, allocations: 75.34 kB / 386.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01311, allocations: 0 / 386.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.588e-05/0.01316, 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.0003083/0.01347, allocations: 40.2 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.01388, allocations: 214 kB / 386.5 MB, free: 9.977 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.541e-05/0.01392, allocations: 63.34 kB / 386.6 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.405e-05/0.01399, allocations: 28.75 kB / 386.6 MB, free: 9.867 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.01403, allocations: 28.48 kB / 386.6 MB, free: 9.84 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01403, allocations: 0 / 386.6 MB, free: 9.84 MB / 362.7 MB Notification: Performance of Templates: time 0.005392/0.01942, allocations: 2.895 MB / 389.5 MB, free: 6.969 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.320409982930869]