Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.0007977/0.0007977, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0007762/0.0007762, allocations: 165.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7773/0.7773, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1276/0.1276, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 3.938 kB / 408.2 MB, free: 1.672 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.058e-05, allocations: 2.281 kB / 408.2 MB, free: 1.668 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002865/0.002896, allocations: 1.687 MB / 409.9 MB, free: 15.97 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009115/0.003808, allocations: 0.7765 MB / 410.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/0.003873, allocations: 0 / 410.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.004198, allocations: 91.64 kB / 410.7 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.004414, allocations: 71.67 kB / 410.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.004614, allocations: 87.69 kB / 410.9 MB, free: 14.94 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.00478, allocations: 111.6 kB / 411 MB, free: 14.83 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.285e-05/0.004873, allocations: 8.219 kB / 411 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.82e-05/0.004961, allocations: 63.81 kB / 411.1 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.867e-05/0.005059, allocations: 55.88 kB / 411.1 MB, free: 14.7 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.005078, allocations: 4 kB / 411.1 MB, free: 14.7 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.684e-05/0.005155, allocations: 43.92 kB / 411.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.005209, allocations: 23.86 kB / 411.2 MB, free: 14.63 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.005247, allocations: 23.86 kB / 411.2 MB, free: 14.61 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.005427, allocations: 119.6 kB / 411.3 MB, free: 14.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.00543, allocations: 0 / 411.3 MB, free: 14.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.005432, allocations: 3.938 kB / 411.3 MB, free: 14.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.005437, allocations: 0 / 411.3 MB, free: 14.49 MB / 394.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.0004474/0.005884, allocations: 341.6 kB / 411.7 MB, free: 14.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.005919, allocations: 8.031 kB / 411.7 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.005957, allocations: 16.84 kB / 411.7 MB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.006153, allocations: 153.5 kB / 411.8 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.006166, allocations: 4.375 kB / 411.8 MB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.006184, allocations: 384 / 411.8 MB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.006313, allocations: 66.16 kB / 411.9 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.006325, allocations: 3.938 kB / 411.9 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.006336, allocations: 4 kB / 411.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.00634, allocations: 0 / 411.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.156e-05/0.006392, allocations: 19.98 kB / 411.9 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/0.00668, allocations: 236.5 kB / 412.2 MB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.006799, allocations: 58.61 kB / 412.2 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.422e-05/0.006833, allocations: 28.8 kB / 412.3 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.006846, allocations: 0 / 412.3 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/0.006957, allocations: 71.38 kB / 412.3 MB, free: 13.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.006958, allocations: 0 / 412.3 MB, free: 13.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000402/0.00736, allocations: 177.4 kB / 412.5 MB, free: 13.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.007392, allocations: 55.41 kB / 412.6 MB, free: 13.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.007529, allocations: 214.8 kB / 412.8 MB, free: 12.92 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.007541, allocations: 29.7 kB / 412.8 MB, free: 12.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.007587, allocations: 108.1 kB / 412.9 MB, free: 12.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.007613, allocations: 27.78 kB / 412.9 MB, free: 12.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.007644, allocations: 21.72 kB / 412.9 MB, free: 12.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.844e-05/0.007723, allocations: 326.8 kB / 413.3 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.927e-05/0.007762, allocations: 19.98 kB / 413.3 MB, free: 12.37 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.294e-05/0.007805, allocations: 41.64 kB / 413.3 MB, free: 12.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.299e-05/0.007878, allocations: 65.62 kB / 413.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.007879, allocations: 0 / 413.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001175/0.007996, allocations: 109.5 kB / 413.5 MB, free: 12.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.008009, allocations: 12.03 kB / 413.5 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.008014, allocations: 160 / 413.5 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.008026, allocations: 0 / 413.5 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.742e-05/0.008093, allocations: 12 kB / 413.5 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.0081, allocations: 8.172 kB / 413.5 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.95e-05/0.008129, allocations: 3.984 kB / 413.5 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.008136, allocations: 7.938 kB / 413.5 MB, free: 12.1 MB / 394.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 7.424e-05/0.00821, allocations: 133.7 kB / 413.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.008221, allocations: 11.94 kB / 413.7 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.008388, allocations: 123.1 kB / 413.8 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.00839, allocations: 4 kB / 413.8 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.008395, allocations: 7.922 kB / 413.8 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.008398, allocations: 0 / 413.8 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.00868, allocations: 355.3 kB / 414.2 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.008682, allocations: 3.938 kB / 414.2 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.008706, allocations: 12 kB / 414.2 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.008709, allocations: 0 / 414.2 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.008719, allocations: 4 kB / 414.2 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.00872, allocations: 0 / 414.2 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.008721, allocations: 4.031 kB / 414.2 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.008861, allocations: 216.2 kB / 414.4 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.008875, allocations: 11.91 kB / 414.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.008891, allocations: 4 kB / 414.4 MB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.796e-05/0.008929, allocations: 4 kB / 414.4 MB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.008959, allocations: 7.984 kB / 414.4 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.008972, allocations: 4 kB / 414.4 MB, free: 11.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.792e-05/0.00906, allocations: 171.2 kB / 414.6 MB, free: 10.97 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00906, allocations: 0 / 414.6 MB, free: 10.97 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001723/0.009232, allocations: 27.94 kB / 414.6 MB, free: 10.94 MB / 394.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.0007299/0.009962, allocations: 492.6 kB / 415.1 MB, free: 10.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.0101, allocations: 63.91 kB / 415.2 MB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.0101, allocations: 0 / 415.2 MB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.293e-05/0.01014, allocations: 35.98 kB / 415.2 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.01037, allocations: 27.98 kB / 415.2 MB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.01075, allocations: 279.9 kB / 415.5 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.269e-05/0.01081, allocations: 88.81 kB / 415.6 MB, free: 9.945 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.01084, allocations: 20.5 kB / 415.6 MB, free: 9.926 MB / 394.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01084, allocations: 0 / 415.6 MB, free: 9.926 MB / 394.7 MB Notification: Performance of Templates: time 0.002654/0.0135, allocations: 2.019 MB / 417.6 MB, free: 7.906 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.64252754766494]