Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.0007772/0.0007772, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.000764/0.000764, allocations: 174.3 kB / 23.97 MB, free: 0.5977 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.7735/0.7735, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.1238/0.1238, allocations: 32.38 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 408.2 MB, free: 1.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.532e-05, allocations: 2.281 kB / 408.2 MB, free: 1.656 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.001979/0.001995, allocations: 1.679 MB / 409.9 MB, free: 15.96 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007848/0.00278, allocations: 0.7842 MB / 410.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.002827, allocations: 0 / 410.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.003032, allocations: 39.83 kB / 410.7 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.00317, allocations: 55.64 kB / 410.7 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.003309, allocations: 87.69 kB / 410.8 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.003419, allocations: 95.64 kB / 410.9 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.234e-05/0.003481, allocations: 12.22 kB / 410.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.134e-05/0.003543, allocations: 55.83 kB / 411 MB, free: 14.83 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.134e-05/0.003594, allocations: 19.92 kB / 411 MB, free: 14.81 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.003608, allocations: 4 kB / 411 MB, free: 14.81 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.671e-05/0.003664, allocations: 43.92 kB / 411.1 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/0.003701, allocations: 23.91 kB / 411.1 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.003729, allocations: 19.92 kB / 411.1 MB, free: 14.72 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.003859, allocations: 111.6 kB / 411.2 MB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.003861, allocations: 0 / 411.2 MB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.003862, allocations: 3.938 kB / 411.2 MB, free: 14.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.695e-06/0.003864, allocations: 4 kB / 411.2 MB, free: 14.61 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.0003509/0.004215, allocations: 329.6 kB / 411.5 MB, free: 14.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.574e-05/0.004241, allocations: 12.03 kB / 411.5 MB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.00427, allocations: 12.88 kB / 411.6 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.004406, allocations: 137.7 kB / 411.7 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.004416, allocations: 8.359 kB / 411.7 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.004429, allocations: 384 / 411.7 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.494e-05/0.004524, allocations: 62.23 kB / 411.8 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.004533, allocations: 3.938 kB / 411.8 MB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-06/0.00454, allocations: 0 / 411.8 MB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-06/0.004542, allocations: 4 kB / 411.8 MB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.533e-05/0.004588, allocations: 27.92 kB / 411.8 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002044/0.004792, allocations: 228.5 kB / 412 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.502e-05/0.004887, allocations: 54.69 kB / 412.1 MB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/0.004922, allocations: 24.78 kB / 412.1 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.004932, allocations: 4 kB / 412.1 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.8e-05/0.00502, allocations: 67.33 kB / 412.2 MB, free: 13.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.005021, allocations: 3.938 kB / 412.2 MB, free: 13.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003358/0.005357, allocations: 185.4 kB / 412.4 MB, free: 13.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.00538, allocations: 51.41 kB / 412.4 MB, free: 13.28 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.005483, allocations: 182.2 kB / 412.6 MB, free: 13.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.005492, allocations: 25.7 kB / 412.6 MB, free: 13.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.00553, allocations: 100.1 kB / 412.7 MB, free: 12.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.005552, allocations: 27.78 kB / 412.7 MB, free: 12.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.005582, allocations: 25.7 kB / 412.8 MB, free: 12.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.281e-05/0.005654, allocations: 326.8 kB / 413.1 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.923e-05/0.005684, allocations: 12 kB / 413.1 MB, free: 12.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.78e-05/0.005721, allocations: 41.69 kB / 413.1 MB, free: 12.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.006082, allocations: 69.59 kB / 413.2 MB, free: 12.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.006084, allocations: 0 / 413.2 MB, free: 12.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001299/0.006214, allocations: 105.6 kB / 413.3 MB, free: 12.33 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.006225, allocations: 4 kB / 413.3 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.006229, allocations: 0 / 413.3 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.006238, allocations: 0 / 413.3 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.698e-05/0.006294, allocations: 23.92 kB / 413.3 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.006299, allocations: 4.328 kB / 413.3 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.547e-05/0.006325, allocations: 0 / 413.3 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-06/0.006329, allocations: 11.97 kB / 413.3 MB, free: 12.29 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 6.355e-05/0.006393, allocations: 129.8 kB / 413.5 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.006405, allocations: 7.953 kB / 413.5 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.006551, allocations: 122.4 kB / 413.6 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.006553, allocations: 0 / 413.6 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.006556, allocations: 384 / 413.6 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.006559, allocations: 0 / 413.6 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.006825, allocations: 350.9 kB / 413.9 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.006828, allocations: 4 kB / 413.9 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.006849, allocations: 12.03 kB / 414 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.006851, allocations: 4 kB / 414 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.006858, allocations: 0 / 414 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.006859, allocations: 0 / 414 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.00686, allocations: 0 / 414 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.006985, allocations: 216.2 kB / 414.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-06/0.006994, allocations: 7.953 kB / 414.2 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.007008, allocations: 7.938 kB / 414.2 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.685e-05/0.007045, allocations: 7.984 kB / 414.2 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.007067, allocations: 11.92 kB / 414.2 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.007077, allocations: 8 kB / 414.2 MB, free: 11.35 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.677e-05/0.007143, allocations: 139.2 kB / 414.3 MB, free: 11.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007143, allocations: 0 / 414.3 MB, free: 11.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001628/0.007306, allocations: 23.94 kB / 414.4 MB, free: 11.19 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.0006629/0.007969, allocations: 496.8 kB / 414.9 MB, free: 10.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.008075, allocations: 59.91 kB / 414.9 MB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.008076, allocations: 0 / 414.9 MB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.022e-05/0.008116, allocations: 31.92 kB / 414.9 MB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.008311, allocations: 29.41 kB / 415 MB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.008604, allocations: 252.1 kB / 415.2 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.406e-05/0.008658, allocations: 89.56 kB / 415.3 MB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.008683, allocations: 16.5 kB / 415.3 MB, free: 10.2 MB / 394.7 MB Notification: Performance of SimCode: time 4.41e-07/0.008683, allocations: 3.938 kB / 415.3 MB, free: 10.2 MB / 394.7 MB Notification: Performance of Templates: time 0.002263/0.01095, allocations: 1.926 MB / 417.3 MB, free: 8.27 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.649484629742801]