Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.001996/0.001996, allocations: 74.66 kB / 19.93 MB, free: 1.781 MB / 14.72 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.002724/0.002724, allocations: 164.3 kB / 23.21 MB, free: 4.906 MB / 14.72 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 1.622/1.622, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] 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.2458/0.2458, allocations: 32.37 MB / 269.6 MB, free: 4.676 MB / 254.1 MB " [Timeout remaining time 179] 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 407.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.096e-05, allocations: 2.281 kB / 407.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003908/0.003939, allocations: 1.682 MB / 409.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002626/0.006565, allocations: 1.481 MB / 410.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.726e-05/0.006662, allocations: 0 / 410.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.007003, allocations: 39.7 kB / 410.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.007337, allocations: 59.7 kB / 410.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.007665, allocations: 87.06 kB / 410.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.007879, allocations: 107.6 kB / 410.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.007979, allocations: 4.234 kB / 410.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.008101, allocations: 51.89 kB / 410.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.008247, allocations: 31.89 kB / 411 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.008271, allocations: 4 kB / 411 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.008439, allocations: 67.84 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.095e-05/0.00851, allocations: 19.86 kB / 411.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.142e-05/0.008561, allocations: 16 kB / 411.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.008905, allocations: 127.5 kB / 411.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.008909, allocations: 3.938 kB / 411.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.00891, allocations: 0 / 411.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.008921, allocations: 0 / 411.2 MB, free: 15.15 MB / 350.1 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.0006522/0.009573, allocations: 333.7 kB / 411.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.00961, allocations: 8.031 kB / 411.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.009661, allocations: 12.89 kB / 411.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.009982, allocations: 145.6 kB / 411.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.009996, allocations: 4.312 kB / 411.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.01002, allocations: 4.375 kB / 411.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.01026, allocations: 97.64 kB / 411.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.01028, allocations: 3.938 kB / 411.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.01029, allocations: 0 / 411.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.01029, allocations: 0 / 411.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.0104, allocations: 23.98 kB / 411.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.01081, allocations: 216.6 kB / 412 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.01102, allocations: 74.59 kB / 412.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.197e-05/0.01108, allocations: 28.72 kB / 412.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.0111, allocations: 0 / 412.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.01126, allocations: 71.34 kB / 412.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.01126, allocations: 0 / 412.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006344/0.01189, allocations: 177.4 kB / 412.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.01197, allocations: 81.11 kB / 412.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.01216, allocations: 161 kB / 412.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.01219, allocations: 29.7 kB / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.259e-05/0.01227, allocations: 100.1 kB / 412.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.01231, allocations: 27.75 kB / 412.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.01236, allocations: 25.7 kB / 412.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.01254, allocations: 322.8 kB / 413.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.911e-05/0.01262, allocations: 20 kB / 413.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.242e-05/0.01272, allocations: 68.27 kB / 413.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.01286, allocations: 65.64 kB / 413.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.01286, allocations: 0 / 413.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002317/0.01309, allocations: 113.6 kB / 413.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.01311, allocations: 4 kB / 413.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.01311, allocations: 0 / 413.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.01313, allocations: 0 / 413.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.88e-05/0.01323, allocations: 20.17 kB / 413.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.01323, allocations: 3.938 kB / 413.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.573e-05/0.01329, allocations: 11.94 kB / 413.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.0133, allocations: 0 / 413.4 MB, free: 12.73 MB / 350.1 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 0.0001244/0.01342, allocations: 128 kB / 413.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.01345, allocations: 7.953 kB / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.01372, allocations: 122.4 kB / 413.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.01373, allocations: 0 / 413.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01373, allocations: 0 / 413.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01373, allocations: 0 / 413.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.01425, allocations: 346.9 kB / 414 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01425, allocations: 0 / 414 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.0143, allocations: 11.98 kB / 414 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.01431, allocations: 4 kB / 414 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.01432, allocations: 4.375 kB / 414 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01432, allocations: 0 / 414 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.01432, allocations: 11.97 kB / 414 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.01462, allocations: 216.2 kB / 414.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.01464, allocations: 7.953 kB / 414.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.01466, allocations: 0 / 414.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.01474, allocations: 4 kB / 414.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.01479, allocations: 11.98 kB / 414.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.01481, allocations: 4 kB / 414.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.01493, allocations: 123.2 kB / 414.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01493, allocations: 0 / 414.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003224/0.01525, allocations: 31.92 kB / 414.4 MB, free: 11.65 MB / 350.1 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.002291/0.01754, allocations: 0.5274 MB / 414.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002348/0.01778, allocations: 59.91 kB / 415 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01778, allocations: 0 / 415 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.111e-05/0.01787, allocations: 31.98 kB / 415 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.01824, allocations: 27.92 kB / 415.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.01878, allocations: 194.1 kB / 415.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.01889, allocations: 95.86 kB / 415.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.322e-05/0.01896, allocations: 12.44 kB / 415.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.01901, allocations: 20.48 kB / 415.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.01901, allocations: 0 / 415.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of Templates: time 0.006839/0.02585, allocations: 2.117 MB / 417.5 MB, free: 8.625 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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: 5.297879658639431]