Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.001787/0.001787, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002249/0.002249, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.64/1.64, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2517/0.2517, allocations: 46.96 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 63.91 kB / 0.4966 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3793, allocations: 66.03 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.00477/0.384, allocations: 2.24 MB / 0.5633 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00297/0.387, allocations: 1.345 MB / 0.5646 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.3872, allocations: 7.938 kB / 0.5646 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006355/0.3878, allocations: 298.9 kB / 0.5649 GB, free: 260 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000753/0.3886, allocations: 338.7 kB / 0.5652 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004944/0.3891, allocations: 219.5 kB / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007478/0.3898, allocations: 0.5607 MB / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.39, allocations: 44.92 kB / 0.566 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.3903, allocations: 243 kB / 0.5663 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004091/0.3907, allocations: 298.9 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.729e-05/0.3907, allocations: 20 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.3909, allocations: 55.98 kB / 0.5666 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.3911, allocations: 123.5 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.3912, allocations: 142.9 kB / 0.5669 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005733/0.3918, allocations: 432.6 kB / 0.5673 GB, free: 13.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3918, allocations: 0 / 0.5673 GB, free: 13.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.3918, allocations: 0 / 0.5673 GB, free: 13.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.3918, allocations: 4 kB / 0.5673 GB, free: 13.8 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001451/0.3933, allocations: 0.7417 MB / 0.568 GB, free: 13.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3933, allocations: 8.031 kB / 0.568 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.3934, allocations: 60.56 kB / 0.5681 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007245/0.3941, allocations: 357.1 kB / 0.5684 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.3942, allocations: 16.31 kB / 0.5684 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.3942, allocations: 20.12 kB / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004569/0.3947, allocations: 205.8 kB / 0.5687 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.3947, allocations: 4 kB / 0.5687 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.3947, allocations: 4 kB / 0.5687 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3947, allocations: 4 kB / 0.5687 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.395, allocations: 115.8 kB / 0.5688 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.3961, allocations: 0.7899 MB / 0.5696 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007192/0.3968, allocations: 285.2 kB / 0.5698 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.397, allocations: 96.25 kB / 0.5699 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.397, allocations: 4 kB / 0.5699 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000497/0.3975, allocations: 235.5 kB / 0.5702 GB, free: 10.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 5.54e-06/0.3975, allocations: 3.984 kB / 0.5702 GB, free: 10.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002468/0.4, allocations: 1.073 MB / 0.5712 GB, free: 9.586 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.4001, allocations: 166.2 kB / 0.5714 GB, free: 9.387 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008815/0.401, allocations: 0.6748 MB / 0.572 GB, free: 8.699 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.313e-05/0.4011, allocations: 37.7 kB / 0.5721 GB, free: 8.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.4013, allocations: 237 kB / 0.5723 GB, free: 8.422 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.4014, allocations: 134.9 kB / 0.5724 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.4016, allocations: 74.08 kB / 0.5725 GB, free: 8.211 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.4018, allocations: 374.8 kB / 0.5728 GB, free: 7.836 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.4021, allocations: 104.8 kB / 0.5729 GB, free: 7.734 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/0.4024, allocations: 192.8 kB / 0.5731 GB, free: 7.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006002/0.403, allocations: 308.5 kB / 0.5734 GB, free: 7.188 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.403, allocations: 0 / 0.5734 GB, free: 7.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008651/0.4039, allocations: 424.9 kB / 0.5738 GB, free: 6.766 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4039, allocations: 8 kB / 0.5738 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4039, allocations: 4 kB / 0.5738 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.4039, allocations: 4.156 kB / 0.5738 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.4043, allocations: 91.83 kB / 0.5739 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.4043, allocations: 4 kB / 0.5739 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.4045, allocations: 19.98 kB / 0.5739 GB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.4045, allocations: 16 kB / 0.574 GB, free: 6.621 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002567/0.4048, allocations: 208.3 kB / 0.5742 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.4049, allocations: 67.52 kB / 0.5742 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.406, allocations: 0.4901 MB / 0.5747 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.406, allocations: 4 kB / 0.5747 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.406, allocations: 4 kB / 0.5747 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.406, allocations: 0 / 0.5747 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.408, allocations: 1.233 MB / 0.5759 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.408, allocations: 4 kB / 0.5759 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.4082, allocations: 57.02 kB / 0.576 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.4082, allocations: 4 kB / 0.576 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.4082, allocations: 19.98 kB / 0.576 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.391e-06/0.4082, allocations: 4 kB / 0.576 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.4082, allocations: 11.88 kB / 0.576 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.4093, allocations: 0.8518 MB / 0.5768 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.009e-05/0.4094, allocations: 51.62 kB / 0.5769 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.95e-05/0.4095, allocations: 19.98 kB / 0.5769 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.4099, allocations: 23.98 kB / 0.5769 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.41, allocations: 43.81 kB / 0.577 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/0.41, allocations: 24 kB / 0.577 GB, free: 3.398 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006287/0.4106, allocations: 0.491 MB / 0.5775 GB, free: 2.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4106, allocations: 480 / 0.5775 GB, free: 2.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006168/0.4112, allocations: 91.92 kB / 0.5776 GB, free: 2.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001989/0.4132, allocations: 0.5218 MB / 0.5781 GB, free: 2.512 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007856/0.414, allocations: 295.4 kB / 0.5784 GB, free: 2.223 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.414, allocations: 0 / 0.5784 GB, free: 2.223 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.4144, allocations: 161 kB / 0.5785 GB, free: 2.066 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.4156, allocations: 146.1 kB / 0.5787 GB, free: 1.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.4173, allocations: 0.927 MB / 0.5796 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.4177, allocations: 272.2 kB / 0.5798 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000235/0.4179, allocations: 87.38 kB / 0.5799 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.418, allocations: 51.42 kB / 0.5799 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of SimCode: time 4.6e-07/0.418, allocations: 0 / 0.5799 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of Templates: time 0.01422/0.4323, allocations: 6.752 MB / 0.5865 GB, free: 9.875 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.709352858830243]