Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.0007949/0.0007949, 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.0007717/0.0007717, allocations: 165.9 kB / 23.96 MB, free: 0.6055 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.768/0.768, allocations: 158.6 MB / 185.7 MB, free: 3.031 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.128/0.128, allocations: 32.38 MB / 270.4 MB, free: 14.97 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 408.2 MB, free: 1.656 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/3.171e-05, allocations: 6.281 kB / 408.2 MB, free: 1.648 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002278/0.002309, allocations: 1.683 MB / 409.9 MB, free: 15.95 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008945/0.003204, allocations: 0.7726 MB / 410.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.728e-05/0.003271, allocations: 3.938 kB / 410.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.003586, allocations: 91.69 kB / 410.7 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.003824, allocations: 79.66 kB / 410.8 MB, free: 15 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.004005, allocations: 79.7 kB / 410.9 MB, free: 14.92 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.004163, allocations: 119.6 kB / 411 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.752e-05/0.004251, allocations: 8.234 kB / 411 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.617e-05/0.004327, allocations: 59.81 kB / 411.1 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.844e-05/0.004416, allocations: 67.8 kB / 411.1 MB, free: 14.67 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.004432, allocations: 4 kB / 411.1 MB, free: 14.67 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.937e-05/0.004502, allocations: 43.92 kB / 411.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.004558, allocations: 27.86 kB / 411.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.004594, allocations: 19.92 kB / 411.2 MB, free: 14.58 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.004758, allocations: 115.6 kB / 411.3 MB, free: 14.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.00476, allocations: 7.938 kB / 411.4 MB, free: 14.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004761, allocations: 0 / 411.4 MB, free: 14.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.004766, allocations: 0 / 411.4 MB, free: 14.46 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.0003943/0.00516, allocations: 357.5 kB / 411.7 MB, free: 14.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.005193, allocations: 8.031 kB / 411.7 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.005229, allocations: 12.84 kB / 411.7 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.005396, allocations: 157.5 kB / 411.9 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.005407, allocations: 4.375 kB / 411.9 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.005427, allocations: 384 / 411.9 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.00555, allocations: 66.22 kB / 411.9 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.005562, allocations: 3.938 kB / 411.9 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.005572, allocations: 0 / 411.9 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.005576, allocations: 0 / 411.9 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.936e-05/0.005625, allocations: 27.98 kB / 412 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.005888, allocations: 224.6 kB / 412.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.006001, allocations: 62.61 kB / 412.3 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/0.006036, allocations: 20.8 kB / 412.3 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.00605, allocations: 0 / 412.3 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/0.006168, allocations: 71.38 kB / 412.3 MB, free: 13.35 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.006169, allocations: 0 / 412.3 MB, free: 13.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004206/0.00659, allocations: 189.3 kB / 412.5 MB, free: 13.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.006623, allocations: 59.41 kB / 412.6 MB, free: 13.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.00677, allocations: 222.8 kB / 412.8 MB, free: 12.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.006783, allocations: 33.7 kB / 412.8 MB, free: 12.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.006832, allocations: 104.1 kB / 412.9 MB, free: 12.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.006858, allocations: 31.73 kB / 413 MB, free: 12.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.00689, allocations: 25.7 kB / 413 MB, free: 12.65 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.797e-05/0.006978, allocations: 322.8 kB / 413.3 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.664e-05/0.007015, allocations: 23.94 kB / 413.3 MB, free: 12.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.748e-05/0.007062, allocations: 41.69 kB / 413.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.161e-05/0.007134, allocations: 61.66 kB / 413.4 MB, free: 12.19 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.007135, allocations: 0 / 413.4 MB, free: 12.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001108/0.007245, allocations: 109.5 kB / 413.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.007257, allocations: 8 kB / 413.6 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.007262, allocations: 0 / 413.6 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.007273, allocations: 0 / 413.6 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.007334, allocations: 16.17 kB / 413.6 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.007339, allocations: 4.156 kB / 413.6 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.605e-05/0.007365, allocations: 7.891 kB / 413.6 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.007373, allocations: 7.984 kB / 413.6 MB, free: 12.03 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 8.368e-05/0.007456, allocations: 141.7 kB / 413.7 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.007468, allocations: 11.95 kB / 413.7 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.007625, allocations: 119.1 kB / 413.9 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.007628, allocations: 0 / 413.9 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.007632, allocations: 8.359 kB / 413.9 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.007637, allocations: 3.984 kB / 413.9 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.007909, allocations: 350.9 kB / 414.2 MB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.007911, allocations: 4 kB / 414.2 MB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.333e-05/0.007934, allocations: 20.02 kB / 414.2 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.007936, allocations: 0 / 414.2 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.007944, allocations: 4 kB / 414.2 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007945, allocations: 0 / 414.2 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.007946, allocations: 0 / 414.2 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.008088, allocations: 216.2 kB / 414.4 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.0081, allocations: 11.94 kB / 414.5 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.008115, allocations: 0 / 414.5 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.792e-05/0.008153, allocations: 8 kB / 414.5 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.008184, allocations: 7.984 kB / 414.5 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.008196, allocations: 4 kB / 414.5 MB, free: 11.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.365e-05/0.00829, allocations: 180.2 kB / 414.7 MB, free: 10.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00829, allocations: 0 / 414.7 MB, free: 10.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001784/0.008468, allocations: 23.94 kB / 414.7 MB, free: 10.86 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.0007083/0.009176, allocations: 0.4912 MB / 415.2 MB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.009298, allocations: 55.91 kB / 415.2 MB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.0093, allocations: 0 / 415.2 MB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.032e-05/0.009341, allocations: 31.98 kB / 415.3 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.009578, allocations: 23.98 kB / 415.3 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.009959, allocations: 296.2 kB / 415.6 MB, free: 9.969 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.963e-05/0.01003, allocations: 104.9 kB / 415.7 MB, free: 9.848 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.01006, allocations: 16.5 kB / 415.7 MB, free: 9.832 MB / 394.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01006, allocations: 0 / 415.7 MB, free: 9.832 MB / 394.7 MB Notification: Performance of Templates: time 0.002499/0.01256, allocations: 2.035 MB / 417.7 MB, free: 7.793 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.538162000477314]