Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001085/0.001085, allocations: 110.3 kB / 17.98 MB, free: 5.238 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.001163/0.001163, allocations: 193.3 kB / 18.9 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 242.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2097/0.2097, allocations: 44.18 MB / 336.9 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 68.86 kB / 408.6 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09369/0.09493, allocations: 60.83 MB / 469.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003358/0.09832, allocations: 2.352 MB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.1002, allocations: 1.263 MB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.1003, allocations: 11.94 kB / 473 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004831/0.1008, allocations: 267.3 kB / 473.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004219/0.1012, allocations: 247.2 kB / 473.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006926/0.1019, allocations: 342.5 kB / 473.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004845/0.1024, allocations: 0.5141 MB / 474.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1026, allocations: 45.09 kB / 474.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.1028, allocations: 242.9 kB / 474.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.1031, allocations: 267 kB / 474.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.1031, allocations: 20 kB / 474.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1033, allocations: 55.98 kB / 475 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.1034, allocations: 115.5 kB / 475.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.1035, allocations: 178.7 kB / 475.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.1038, allocations: 291.7 kB / 475.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1039, allocations: 4 kB / 475.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1039, allocations: 0 / 475.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1039, allocations: 4 kB / 475.6 MB, free: 8.449 MB / 350.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.001023/0.1049, allocations: 0.7552 MB / 476.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1049, allocations: 8.031 kB / 476.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.807e-05/0.105, allocations: 52.28 kB / 476.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.1055, allocations: 399.9 kB / 476.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.1055, allocations: 20.36 kB / 476.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.1056, allocations: 16.12 kB / 476.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.106, allocations: 203.5 kB / 477 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.106, allocations: 7.906 kB / 477 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.106, allocations: 4 kB / 477 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.106, allocations: 4 kB / 477 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.1063, allocations: 99.86 kB / 477.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008168/0.1071, allocations: 0.8488 MB / 478 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.1077, allocations: 285.3 kB / 478.2 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.1079, allocations: 100.2 kB / 478.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.1079, allocations: 12 kB / 478.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004199/0.1084, allocations: 227.4 kB / 478.6 MB, free: 5.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.1084, allocations: 4 kB / 478.6 MB, free: 5.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001908/0.1103, allocations: 0.9795 MB / 479.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.1104, allocations: 162.2 kB / 479.7 MB, free: 3.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006185/0.111, allocations: 0.6198 MB / 480.3 MB, free: 3.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.1111, allocations: 41.64 kB / 480.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.1112, allocations: 221.1 kB / 480.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.1113, allocations: 122.4 kB / 480.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.996e-05/0.1114, allocations: 70.12 kB / 480.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1116, allocations: 374.7 kB / 481.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.1118, allocations: 96.83 kB / 481.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.1121, allocations: 184.9 kB / 481.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/0.1126, allocations: 296.8 kB / 481.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.1126, allocations: 4 kB / 481.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007168/0.1133, allocations: 409 kB / 482.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1133, allocations: 12 kB / 482.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1133, allocations: 0 / 482.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1134, allocations: 8 kB / 482.1 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.1137, allocations: 81.59 kB / 482.2 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.1137, allocations: 11.92 kB / 482.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.1139, allocations: 12 kB / 482.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.1139, allocations: 19.98 kB / 482.3 MB, free: 1.34 MB / 350.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.0002245/0.1142, allocations: 208.3 kB / 482.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-05/0.1143, allocations: 63.27 kB / 482.5 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.1144, allocations: 63.91 kB / 482.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.1144, allocations: 8 kB / 482.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.1144, allocations: 0 / 482.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1144, allocations: 0 / 482.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.1159, allocations: 1.264 MB / 483.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1159, allocations: 4 kB / 483.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.1161, allocations: 47.92 kB / 483.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1161, allocations: 8.156 kB / 483.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.1161, allocations: 23.92 kB / 483.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.1161, allocations: 4 kB / 483.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1162, allocations: 4 kB / 483.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008024/0.117, allocations: 0.8127 MB / 484.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.52e-05/0.1171, allocations: 124.4 kB / 484.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.069e-05/0.1171, allocations: 15.94 kB / 484.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.1175, allocations: 19.98 kB / 484.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.1175, allocations: 39.89 kB / 485 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.1176, allocations: 19.98 kB / 485 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000435/0.118, allocations: 462.8 kB / 485.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.118, allocations: 0 / 485.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005356/0.1186, allocations: 76 kB / 485.5 MB, free: 13.96 MB / 366.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.001045/0.1196, allocations: 489.8 kB / 486 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005912/0.1202, allocations: 319.5 kB / 486.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1202, allocations: 0 / 486.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.1205, allocations: 147.8 kB / 486.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.1216, allocations: 156.2 kB / 486.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.1229, allocations: 1.027 MB / 487.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.1234, allocations: 0.8473 MB / 488.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.1235, allocations: 59.36 kB / 488.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1235, allocations: 0 / 488.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of Templates: time 0.008465/0.132, allocations: 6.289 MB / 494.8 MB, free: 4.785 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches