Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.0007605/0.0007605, 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.0007222/0.0007222, allocations: 166.3 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.8021/0.8021, allocations: 158.6 MB / 185.7 MB, free: 3.051 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.1234/0.1234, allocations: 32.38 MB / 270.4 MB, free: 14.98 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 3.938 kB / 408.2 MB, free: 1.652 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.376e-05, allocations: 2.281 kB / 408.2 MB, free: 1.648 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002774/0.002798, allocations: 1.676 MB / 409.9 MB, free: 15.96 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008631/0.003661, allocations: 0.7882 MB / 410.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.295e-05/0.003724, allocations: 0 / 410.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.004002, allocations: 47.77 kB / 410.7 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.004188, allocations: 63.69 kB / 410.8 MB, free: 15.05 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.004364, allocations: 91.7 kB / 410.8 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.004506, allocations: 103.6 kB / 410.9 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.731e-05/0.004593, allocations: 4.234 kB / 411 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.005e-05/0.004663, allocations: 47.84 kB / 411 MB, free: 14.81 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.616e-05/0.00473, allocations: 31.89 kB / 411 MB, free: 14.78 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.004746, allocations: 0 / 411 MB, free: 14.78 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.834e-05/0.004814, allocations: 43.92 kB / 411.1 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.794e-05/0.004872, allocations: 31.86 kB / 411.1 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.004908, allocations: 23.92 kB / 411.1 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.005073, allocations: 131.5 kB / 411.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.005075, allocations: 0 / 411.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005076, allocations: 3.938 kB / 411.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.00508, allocations: 0 / 411.3 MB, free: 14.55 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.0004142/0.005495, allocations: 365.3 kB / 411.6 MB, free: 14.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.00553, allocations: 12.03 kB / 411.6 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.005569, allocations: 12.84 kB / 411.6 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.005739, allocations: 161.2 kB / 411.8 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.005751, allocations: 12.36 kB / 411.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.005768, allocations: 384 / 411.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.005881, allocations: 62.23 kB / 411.9 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.005891, allocations: 7.875 kB / 411.9 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.0059, allocations: 0 / 411.9 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.005904, allocations: 0 / 411.9 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.095e-05/0.005955, allocations: 23.98 kB / 411.9 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002661/0.006222, allocations: 232.6 kB / 412.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.006332, allocations: 58.61 kB / 412.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.578e-05/0.006367, allocations: 28.78 kB / 412.2 MB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.00638, allocations: 0 / 412.2 MB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/0.006486, allocations: 67.39 kB / 412.3 MB, free: 13.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.006487, allocations: 0 / 412.3 MB, free: 13.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003882/0.006875, allocations: 197.2 kB / 412.5 MB, free: 13.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.006904, allocations: 59.34 kB / 412.5 MB, free: 13.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.007064, allocations: 263.5 kB / 412.8 MB, free: 12.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.007076, allocations: 33.69 kB / 412.8 MB, free: 12.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.007125, allocations: 108.1 kB / 412.9 MB, free: 12.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.007149, allocations: 23.84 kB / 412.9 MB, free: 12.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.007183, allocations: 21.72 kB / 413 MB, free: 12.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.00726, allocations: 334.8 kB / 413.3 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.53e-05/0.007295, allocations: 16 kB / 413.3 MB, free: 12.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.909e-05/0.007335, allocations: 37.7 kB / 413.4 MB, free: 12.28 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.052e-05/0.007405, allocations: 65.58 kB / 413.4 MB, free: 12.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.007406, allocations: 0 / 413.4 MB, free: 12.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001125/0.007519, allocations: 113.5 kB / 413.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.00753, allocations: 4 kB / 413.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.007535, allocations: 8.031 kB / 413.5 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.007545, allocations: 0 / 413.5 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.007607, allocations: 15.98 kB / 413.6 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.007612, allocations: 4.328 kB / 413.6 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.00764, allocations: 8 kB / 413.6 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.007646, allocations: 7.938 kB / 413.6 MB, free: 12.05 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.33e-05/0.00772, allocations: 141.7 kB / 413.7 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.007731, allocations: 11.91 kB / 413.7 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.007886, allocations: 131 kB / 413.9 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.007888, allocations: 4 kB / 413.9 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.007893, allocations: 4.375 kB / 413.9 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007896, allocations: 0 / 413.9 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.008169, allocations: 350.9 kB / 414.2 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.008171, allocations: 4 kB / 414.2 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.008195, allocations: 15.94 kB / 414.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.008196, allocations: 0 / 414.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.008204, allocations: 0 / 414.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.008206, allocations: 7.984 kB / 414.2 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.008207, allocations: 0 / 414.2 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.008338, allocations: 220.2 kB / 414.4 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.008352, allocations: 15.89 kB / 414.5 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.008367, allocations: 4 kB / 414.5 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.944e-05/0.008406, allocations: 7.984 kB / 414.5 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.008433, allocations: 7.938 kB / 414.5 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.008445, allocations: 7.984 kB / 414.5 MB, free: 11.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.00855, allocations: 203.2 kB / 414.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00855, allocations: 0 / 414.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000163/0.008713, allocations: 24 kB / 414.7 MB, free: 10.83 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.0007016/0.009415, allocations: 498.2 kB / 415.2 MB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001275/0.009542, allocations: 59.91 kB / 415.3 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.009544, allocations: 0 / 415.3 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.355e-05/0.009587, allocations: 32.05 kB / 415.3 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.009805, allocations: 39.75 kB / 415.3 MB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.01018, allocations: 308.6 kB / 415.6 MB, free: 9.906 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.012e-05/0.01025, allocations: 105.8 kB / 415.7 MB, free: 9.781 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/0.01054, allocations: 20.48 kB / 415.7 MB, free: 9.762 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01054, allocations: 0 / 415.7 MB, free: 9.762 MB / 394.7 MB Notification: Performance of Templates: time 0.002483/0.01303, allocations: 2.129 MB / 417.9 MB, free: 7.629 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.364096383564174]