Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 108.3 kB / 16.41 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 188.1 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2092/0.2092, allocations: 43.53 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 67.91 kB / 441.9 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1273, allocations: 57.79 MB / 499.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004154/0.1315, allocations: 2.299 MB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.1339, allocations: 1.182 MB / 0.4913 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003809/0.1343, allocations: 7.938 kB / 0.4914 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008705/0.1352, allocations: 291 kB / 0.4916 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008372/0.1361, allocations: 266.9 kB / 0.4919 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009005/0.137, allocations: 335.2 kB / 0.4922 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007465/0.1378, allocations: 0.5063 MB / 0.4927 GB, free: 6.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.1379, allocations: 57.05 kB / 0.4928 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004398/0.1384, allocations: 239 kB / 0.493 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004075/0.1388, allocations: 251 kB / 0.4932 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.686e-05/0.1389, allocations: 27.92 kB / 0.4932 GB, free: 6.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.1391, allocations: 63.92 kB / 0.4933 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.1394, allocations: 107.6 kB / 0.4934 GB, free: 6.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.1396, allocations: 174.7 kB / 0.4936 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005371/0.1401, allocations: 398.4 kB / 0.494 GB, free: 5.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1401, allocations: 0 / 0.494 GB, free: 5.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1401, allocations: 0 / 0.494 GB, free: 5.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.1402, allocations: 0 / 0.494 GB, free: 5.543 MB / 382.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.001348/0.1415, allocations: 0.7591 MB / 0.4947 GB, free: 4.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1416, allocations: 15.89 kB / 0.4947 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.1417, allocations: 48.28 kB / 0.4948 GB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006994/0.1424, allocations: 411.9 kB / 0.4952 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.1425, allocations: 16.36 kB / 0.4952 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.1425, allocations: 20.12 kB / 0.4952 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.143, allocations: 202.3 kB / 0.4954 GB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.143, allocations: 7.922 kB / 0.4954 GB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.143, allocations: 8 kB / 0.4954 GB, free: 3.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1431, allocations: 4 kB / 0.4954 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.1433, allocations: 95.86 kB / 0.4955 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.1445, allocations: 0.8526 MB / 0.4963 GB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007256/0.1453, allocations: 289.3 kB / 0.4966 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.1455, allocations: 92.25 kB / 0.4967 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.183e-05/0.1456, allocations: 8 kB / 0.4967 GB, free: 2.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004642/0.146, allocations: 232.2 kB / 0.4969 GB, free: 2.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 3.357e-06/0.1461, allocations: 0 / 0.4969 GB, free: 2.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0025/0.1486, allocations: 0.9832 MB / 0.4979 GB, free: 1.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.1487, allocations: 162.2 kB / 0.498 GB, free: 1.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008034/0.1495, allocations: 0.6121 MB / 0.4986 GB, free: 440 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.142e-05/0.1496, allocations: 37.7 kB / 0.4987 GB, free: 396 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.1498, allocations: 220.9 kB / 0.4989 GB, free: 172 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.1499, allocations: 122.4 kB / 0.499 GB, free: 48 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.1501, allocations: 74.06 kB / 0.4991 GB, free: 15.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.1503, allocations: 370.8 kB / 0.4994 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.1505, allocations: 100.8 kB / 0.4995 GB, free: 15.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.1508, allocations: 184.8 kB / 0.4997 GB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/0.1513, allocations: 306.6 kB / 0.5 GB, free: 14.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1513, allocations: 3.938 kB / 0.5 GB, free: 14.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007521/0.1521, allocations: 396.6 kB / 0.5004 GB, free: 14.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1521, allocations: 8 kB / 0.5004 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.1521, allocations: 3.984 kB / 0.5004 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.1522, allocations: 7.938 kB / 0.5004 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.1525, allocations: 84.06 kB / 0.5005 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.1525, allocations: 4 kB / 0.5005 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.1527, allocations: 19.98 kB / 0.5005 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.1527, allocations: 16 kB / 0.5005 GB, free: 14.42 MB / 398.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.0002312/0.1529, allocations: 212.2 kB / 0.5007 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.1531, allocations: 67.17 kB / 0.5008 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.1532, allocations: 68.28 kB / 0.5008 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.1532, allocations: 4 kB / 0.5008 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/0.1533, allocations: 8 kB / 0.5008 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.1533, allocations: 0 / 0.5008 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.1553, allocations: 1.257 MB / 0.5021 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.1553, allocations: 4 kB / 0.5021 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.1555, allocations: 55.91 kB / 0.5021 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.457e-06/0.1555, allocations: 4 kB / 0.5021 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.1556, allocations: 19.92 kB / 0.5022 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/0.1556, allocations: 7.938 kB / 0.5022 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1556, allocations: 0 / 0.5022 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.1566, allocations: 0.8163 MB / 0.503 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.1567, allocations: 120.5 kB / 0.5031 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.644e-05/0.1568, allocations: 19.92 kB / 0.5031 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.1571, allocations: 19.98 kB / 0.5031 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.402e-05/0.1572, allocations: 35.95 kB / 0.5031 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.026e-05/0.1573, allocations: 16 kB / 0.5032 GB, free: 11.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005905/0.1579, allocations: 462.8 kB / 0.5036 GB, free: 11.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.492e-06/0.1579, allocations: 0 / 0.5036 GB, free: 11.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005767/0.1585, allocations: 79.94 kB / 0.5037 GB, free: 11.03 MB / 398.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.001185/0.1597, allocations: 494.9 kB / 0.5042 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008142/0.1605, allocations: 291.6 kB / 0.5044 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.1605, allocations: 0 / 0.5044 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004069/0.1609, allocations: 148.4 kB / 0.5046 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.162, allocations: 154.9 kB / 0.5047 GB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.1637, allocations: 0.8649 MB / 0.5056 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007679/0.1645, allocations: 0.8551 MB / 0.5064 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002592/0.1648, allocations: 79.39 kB / 0.5065 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.1649, allocations: 51.42 kB / 0.5065 GB, free: 8.074 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1649, allocations: 0 / 0.5065 GB, free: 8.074 MB / 398.1 MB Notification: Performance of Templates: time 0.01244/0.1773, allocations: 5.677 MB / 0.5121 GB, free: 2.402 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches