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.001352/0.001352, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001829/0.001829, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.583/1.583, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2584/0.2584, allocations: 46.94 MB / 360.9 MB, free: 4.25 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.002123/0.002123, allocations: 67.89 kB / 0.4967 GB, free: 7.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4046, allocations: 66.02 MB / 0.5612 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004717/0.4093, allocations: 2.386 MB / 0.5635 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.4121, allocations: 1.42 MB / 0.5649 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.4122, allocations: 11.88 kB / 0.5649 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006598/0.4129, allocations: 295 kB / 0.5652 GB, free: 252 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006868/0.4136, allocations: 338.6 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.414, allocations: 215.5 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007186/0.4147, allocations: 0.5647 MB / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.4149, allocations: 43.94 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003582/0.4153, allocations: 259 kB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003904/0.4157, allocations: 298.8 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.569e-05/0.4157, allocations: 20 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.4159, allocations: 55.98 kB / 0.5669 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.416, allocations: 111.5 kB / 0.567 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.4162, allocations: 182.7 kB / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005468/0.4167, allocations: 433.5 kB / 0.5676 GB, free: 13.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4167, allocations: 0 / 0.5676 GB, free: 13.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4167, allocations: 4 kB / 0.5676 GB, free: 13.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.4168, allocations: 0 / 0.5676 GB, free: 13.75 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.001258/0.418, allocations: 0.7378 MB / 0.5683 GB, free: 12.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.4181, allocations: 16.02 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.4182, allocations: 56.56 kB / 0.5684 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006595/0.4188, allocations: 361.1 kB / 0.5688 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.4188, allocations: 16.31 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.4189, allocations: 20.11 kB / 0.5688 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.4193, allocations: 197.8 kB / 0.569 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.4193, allocations: 8 kB / 0.569 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.4194, allocations: 7.984 kB / 0.569 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.4194, allocations: 4 kB / 0.569 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.4196, allocations: 91.88 kB / 0.5691 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.4207, allocations: 0.8362 MB / 0.5699 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/0.4213, allocations: 273.3 kB / 0.5702 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.4215, allocations: 96.19 kB / 0.5703 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.4216, allocations: 7.938 kB / 0.5703 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004448/0.422, allocations: 231.5 kB / 0.5705 GB, free: 10.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.422, allocations: 0 / 0.5705 GB, free: 10.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.00219/0.4242, allocations: 1.04 MB / 0.5715 GB, free: 9.543 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.4243, allocations: 162.2 kB / 0.5717 GB, free: 9.348 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008212/0.4251, allocations: 0.6592 MB / 0.5723 GB, free: 8.676 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.4252, allocations: 37.69 kB / 0.5723 GB, free: 8.633 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.4254, allocations: 233 kB / 0.5726 GB, free: 8.402 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.4255, allocations: 131 kB / 0.5727 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.4256, allocations: 70.12 kB / 0.5727 GB, free: 8.199 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.4258, allocations: 374.8 kB / 0.5731 GB, free: 7.824 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.4261, allocations: 100.8 kB / 0.5732 GB, free: 7.727 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.4264, allocations: 182.8 kB / 0.5734 GB, free: 7.523 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005442/0.427, allocations: 300.8 kB / 0.5737 GB, free: 7.199 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.427, allocations: 0 / 0.5737 GB, free: 7.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007713/0.4277, allocations: 417 kB / 0.5741 GB, free: 6.785 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.4278, allocations: 8 kB / 0.5741 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4278, allocations: 0 / 0.5741 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.4278, allocations: 4 kB / 0.5741 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.4281, allocations: 83.89 kB / 0.5741 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.4281, allocations: 11.94 kB / 0.5742 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.4284, allocations: 15.98 kB / 0.5742 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.4284, allocations: 16 kB / 0.5742 GB, free: 6.648 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.0002481/0.4287, allocations: 212.5 kB / 0.5744 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.946e-05/0.4288, allocations: 67.52 kB / 0.5745 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009479/0.4297, allocations: 457.9 kB / 0.5749 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.4297, allocations: 8 kB / 0.5749 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4297, allocations: 0 / 0.5749 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.4297, allocations: 3.984 kB / 0.5749 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.4315, allocations: 1.248 MB / 0.5761 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.4315, allocations: 16.09 kB / 0.5761 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.4316, allocations: 47.86 kB / 0.5762 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.4316, allocations: 4 kB / 0.5762 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.4317, allocations: 19.92 kB / 0.5762 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.4317, allocations: 4 kB / 0.5762 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4317, allocations: 7.938 kB / 0.5762 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.4327, allocations: 0.8128 MB / 0.577 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.069e-05/0.4328, allocations: 55.61 kB / 0.5771 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.169e-05/0.4328, allocations: 19.94 kB / 0.5771 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/0.4332, allocations: 15.98 kB / 0.5771 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.4333, allocations: 35.94 kB / 0.5771 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.4333, allocations: 23.98 kB / 0.5772 GB, free: 3.488 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005771/0.4339, allocations: 482.8 kB / 0.5776 GB, free: 3.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4339, allocations: 0 / 0.5776 GB, free: 3.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005658/0.4345, allocations: 87.98 kB / 0.5777 GB, free: 2.934 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 (40): * Single equations (assignments): 30 * 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.001859/0.4363, allocations: 484.7 kB / 0.5782 GB, free: 2.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006728/0.437, allocations: 284.1 kB / 0.5784 GB, free: 2.363 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.437, allocations: 0 / 0.5784 GB, free: 2.363 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.4373, allocations: 135.7 kB / 0.5786 GB, free: 2.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.4384, allocations: 159 kB / 0.5787 GB, free: 2.082 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.44, allocations: 0.9148 MB / 0.5796 GB, free: 1.113 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000587/0.4406, allocations: 0.8628 MB / 0.5805 GB, free: 224 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002197/0.4408, allocations: 84.12 kB / 0.5805 GB, free: 136 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.4409, allocations: 51.42 kB / 0.5806 GB, free: 84 kB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4409, allocations: 0 / 0.5806 GB, free: 84 kB / 414.1 MB Notification: Performance of Templates: time 0.01325/0.4542, allocations: 5.975 MB / 0.5864 GB, free: 10.16 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.835536719998345]