Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.0008201/0.0008201, 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.0008562/0.0008562, 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.817/0.817, allocations: 158.6 MB / 185.7 MB, free: 3.027 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.1225/0.1225, 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 408.2 MB, free: 1.668 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.759e-05, allocations: 2.281 kB / 408.2 MB, free: 1.664 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.001858/0.001875, allocations: 1.683 MB / 409.9 MB, free: 15.97 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008248/0.0027, allocations: 0.7881 MB / 410.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.152e-05/0.002762, allocations: 0 / 410.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.003053, allocations: 83.7 kB / 410.7 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.003241, allocations: 75.59 kB / 410.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.003424, allocations: 91.7 kB / 410.9 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.003562, allocations: 111.7 kB / 411 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.977e-05/0.003642, allocations: 8.219 kB / 411 MB, free: 14.81 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.19e-05/0.003724, allocations: 67.75 kB / 411.1 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.378e-05/0.003808, allocations: 55.88 kB / 411.1 MB, free: 14.69 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.003823, allocations: 4 kB / 411.1 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.003894, allocations: 39.92 kB / 411.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.623e-05/0.00394, allocations: 23.86 kB / 411.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.003974, allocations: 19.92 kB / 411.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.00413, allocations: 119.6 kB / 411.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.004132, allocations: 0 / 411.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.004133, allocations: 7.938 kB / 411.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.768e-06/0.004137, allocations: 0 / 411.3 MB, free: 14.48 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.0003826/0.00452, allocations: 345.6 kB / 411.7 MB, free: 14.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.004554, allocations: 11.97 kB / 411.7 MB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.004589, allocations: 16.84 kB / 411.7 MB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.004746, allocations: 145.5 kB / 411.8 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.004756, allocations: 384 / 411.8 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.004776, allocations: 8.359 kB / 411.9 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.004886, allocations: 62.23 kB / 411.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.004895, allocations: 3.938 kB / 411.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.004903, allocations: 4 kB / 411.9 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.004907, allocations: 0 / 411.9 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.847e-05/0.004955, allocations: 23.92 kB / 411.9 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.005207, allocations: 236.5 kB / 412.2 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.005316, allocations: 54.67 kB / 412.2 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/0.005348, allocations: 20.8 kB / 412.3 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.005359, allocations: 0 / 412.3 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.693e-05/0.005456, allocations: 75.31 kB / 412.3 MB, free: 13.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.005457, allocations: 4 kB / 412.3 MB, free: 13.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000367/0.005824, allocations: 181.4 kB / 412.5 MB, free: 13.19 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.005852, allocations: 55.41 kB / 412.6 MB, free: 13.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.005981, allocations: 214.8 kB / 412.8 MB, free: 12.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.005994, allocations: 33.69 kB / 412.8 MB, free: 12.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.00604, allocations: 100.1 kB / 412.9 MB, free: 12.76 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.006065, allocations: 27.78 kB / 412.9 MB, free: 12.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.006095, allocations: 21.72 kB / 413 MB, free: 12.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.006172, allocations: 326.8 kB / 413.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.387e-05/0.006206, allocations: 19.98 kB / 413.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.792e-05/0.006253, allocations: 41.7 kB / 413.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.325e-05/0.006327, allocations: 69.56 kB / 413.4 MB, free: 12.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.006328, allocations: 0 / 413.4 MB, free: 12.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001157/0.006443, allocations: 105.6 kB / 413.5 MB, free: 12.13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.006456, allocations: 8 kB / 413.5 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.006461, allocations: 0 / 413.5 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.006472, allocations: 0 / 413.5 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/0.006533, allocations: 15.94 kB / 413.5 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.006541, allocations: 12.36 kB / 413.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.757e-05/0.006568, allocations: 3.984 kB / 413.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.006575, allocations: 11.88 kB / 413.6 MB, free: 12.08 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.337e-05/0.006648, allocations: 133.8 kB / 413.7 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.006659, allocations: 7.953 kB / 413.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.006814, allocations: 119.1 kB / 413.8 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.006816, allocations: 4 kB / 413.8 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.00682, allocations: 0 / 413.8 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.006824, allocations: 0 / 413.8 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.007089, allocations: 359.2 kB / 414.2 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.00709, allocations: 0 / 414.2 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.101e-05/0.007111, allocations: 12 kB / 414.2 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.007113, allocations: 0 / 414.2 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.007121, allocations: 8 kB / 414.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.007122, allocations: 0 / 414.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.007124, allocations: 0 / 414.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.007263, allocations: 216.2 kB / 414.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.007275, allocations: 15.89 kB / 414.4 MB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.00729, allocations: 0 / 414.4 MB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.982e-05/0.00733, allocations: 12.03 kB / 414.4 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.007357, allocations: 11.92 kB / 414.4 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.00737, allocations: 4 kB / 414.4 MB, free: 11.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.997e-05/0.007459, allocations: 171.2 kB / 414.6 MB, free: 10.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00746, allocations: 0 / 414.6 MB, free: 10.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001712/0.007631, allocations: 27.94 kB / 414.6 MB, free: 10.93 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.0006812/0.008312, allocations: 494.2 kB / 415.1 MB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.00843, allocations: 63.91 kB / 415.2 MB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.008432, allocations: 0 / 415.2 MB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.763e-05/0.008479, allocations: 31.92 kB / 415.2 MB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.008683, allocations: 23.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.0003331/0.009016, allocations: 279.6 kB / 415.5 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.848e-05/0.009075, allocations: 92.94 kB / 415.6 MB, free: 9.934 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.0091, allocations: 20.48 kB / 415.6 MB, free: 9.914 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.0091, allocations: 0 / 415.6 MB, free: 9.914 MB / 394.7 MB Notification: Performance of Templates: time 0.00227/0.01137, allocations: 2.008 MB / 417.6 MB, free: 7.902 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.588934238068759]