Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.00143/0.00143, allocations: 108.2 kB / 21.19 MB, free: 0.7617 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.001596/0.001596, allocations: 213.9 kB / 24.49 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2314/0.2314, allocations: 44.92 MB / 359.6 MB, free: 6.254 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003588/0.003588, allocations: 65.92 kB / 0.4944 GB, free: 10.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3906, allocations: 65.47 MB / 0.5583 GB, free: 7.648 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003573/0.3942, allocations: 1.744 MB / 0.56 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.3972, allocations: 1.743 MB / 0.5617 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.403e-05/0.3973, allocations: 0 / 0.5617 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.3977, allocations: 39.77 kB / 0.5618 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.3981, allocations: 99.55 kB / 0.5619 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.3983, allocations: 75.67 kB / 0.5619 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.3985, allocations: 111.7 kB / 0.562 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.3986, allocations: 8 kB / 0.562 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.3988, allocations: 47.78 kB / 0.5621 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.399, allocations: 51.7 kB / 0.5621 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.399, allocations: 4 kB / 0.5621 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.3992, allocations: 115.9 kB / 0.5622 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.3993, allocations: 15.88 kB / 0.5623 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.3993, allocations: 43.72 kB / 0.5623 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.3996, allocations: 169.8 kB / 0.5625 GB, free: 3.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3996, allocations: 0 / 0.5625 GB, free: 3.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3997, allocations: 0 / 0.5625 GB, free: 3.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3997, allocations: 4 kB / 0.5625 GB, free: 3.375 MB / 398.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.0006172/0.4003, allocations: 345.5 kB / 0.5628 GB, free: 3.008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.4003, allocations: 12.03 kB / 0.5628 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.4004, allocations: 12.84 kB / 0.5628 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.4007, allocations: 156.5 kB / 0.563 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.4007, allocations: 3.938 kB / 0.563 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.4007, allocations: 15.92 kB / 0.563 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.4009, allocations: 67.39 kB / 0.5631 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.4009, allocations: 0 / 0.5631 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.4009, allocations: 4 kB / 0.5631 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.4009, allocations: 0 / 0.5631 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.539e-05/0.401, allocations: 19.92 kB / 0.5631 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.4014, allocations: 263.9 kB / 0.5633 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.4016, allocations: 54.69 kB / 0.5634 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.4017, allocations: 20.84 kB / 0.5634 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.4017, allocations: 0 / 0.5634 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.4019, allocations: 71.33 kB / 0.5635 GB, free: 2.219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.4019, allocations: 0 / 0.5635 GB, free: 2.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005723/0.4024, allocations: 177.3 kB / 0.5636 GB, free: 2.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.4025, allocations: 81.05 kB / 0.5637 GB, free: 1.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.4027, allocations: 166.1 kB / 0.5639 GB, free: 1.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.4027, allocations: 29.7 kB / 0.5639 GB, free: 1.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.4028, allocations: 100.1 kB / 0.564 GB, free: 1.633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.4028, allocations: 27.75 kB / 0.564 GB, free: 1.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.4029, allocations: 21.7 kB / 0.564 GB, free: 1.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.403, allocations: 322.8 kB / 0.5644 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.099e-05/0.4031, allocations: 24.38 kB / 0.5644 GB, free: 1.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-05/0.4032, allocations: 42.56 kB / 0.5644 GB, free: 1.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.4033, allocations: 61.83 kB / 0.5645 GB, free: 1.113 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4033, allocations: 4 kB / 0.5645 GB, free: 1.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000194/0.4035, allocations: 97.56 kB / 0.5646 GB, free: 1.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4035, allocations: 8.062 kB / 0.5646 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.4035, allocations: 7.984 kB / 0.5646 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4035, allocations: 3.938 kB / 0.5646 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.267e-05/0.4036, allocations: 12 kB / 0.5646 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.4036, allocations: 7.938 kB / 0.5646 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.4037, allocations: 4 kB / 0.5646 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.4037, allocations: 7.984 kB / 0.5646 GB, free: 0.957 MB / 398.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.0001156/0.4038, allocations: 117.8 kB / 0.5647 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.4038, allocations: 7.953 kB / 0.5647 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.4041, allocations: 122.5 kB / 0.5649 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.4041, allocations: 0 / 0.5649 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4041, allocations: 7.875 kB / 0.5649 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4041, allocations: 0 / 0.5649 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.4046, allocations: 370.3 kB / 0.5652 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4046, allocations: 0 / 0.5652 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.4046, allocations: 11.94 kB / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4046, allocations: 0 / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.4046, allocations: 8.016 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.4046, allocations: 4 kB / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4046, allocations: 0 / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.4049, allocations: 200.3 kB / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.4049, allocations: 11.89 kB / 0.5654 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.405, allocations: 4 kB / 0.5655 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.786e-05/0.405, allocations: 7.984 kB / 0.5655 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.4051, allocations: 4 kB / 0.5655 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.4051, allocations: 4 kB / 0.5655 GB, free: 4 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.4052, allocations: 131.3 kB / 0.5656 GB, free: 15.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4052, allocations: 0 / 0.5656 GB, free: 15.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.4055, allocations: 43.88 kB / 0.5656 GB, free: 15.83 MB / 414.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 (8): * Single equations (assignments): 6 * 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.002046/0.4076, allocations: 0.5508 MB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.4078, allocations: 59.91 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4078, allocations: 0 / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.645e-05/0.4079, allocations: 31.92 kB / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.4082, allocations: 31.84 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005187/0.4088, allocations: 236.6 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.4091, allocations: 0.7002 MB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.4092, allocations: 23.42 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4092, allocations: 0 / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Templates: time 0.004809/0.414, allocations: 2.418 MB / 0.5696 GB, free: 11.95 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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: 8.042576132109389]