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.001109/0.001108, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.00113/0.00113, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.315/1.315, allocations: 222.9 MB / 242.9 MB, free: 15.2 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.215/0.215, allocations: 44.18 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 75.31 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1053, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003558/0.1089, allocations: 2.299 MB / 472.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.111, allocations: 1.286 MB / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.1111, allocations: 7.938 kB / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005151/0.1116, allocations: 279.1 kB / 473.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004659/0.1121, allocations: 274.8 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008043/0.113, allocations: 378.4 kB / 474.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005482/0.1135, allocations: 0.5024 MB / 474.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.1137, allocations: 53.08 kB / 475 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000271/0.114, allocations: 239 kB / 475.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.1142, allocations: 251 kB / 475.5 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.048e-05/0.1143, allocations: 16 kB / 475.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.1145, allocations: 59.98 kB / 475.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.1146, allocations: 103.6 kB / 475.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.1148, allocations: 178.7 kB / 475.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004092/0.1152, allocations: 390.7 kB / 476.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.1152, allocations: 0 / 476.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1152, allocations: 0 / 476.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1153, allocations: 0 / 476.2 MB, free: 8.062 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.001139/0.1164, allocations: 0.763 MB / 477 MB, free: 7.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1164, allocations: 8.031 kB / 477 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.1166, allocations: 56.28 kB / 477 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004884/0.1171, allocations: 392 kB / 477.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.1171, allocations: 16.3 kB / 477.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/0.1171, allocations: 16.12 kB / 477.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.1175, allocations: 197.8 kB / 477.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1175, allocations: 7.906 kB / 477.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.1176, allocations: 8 kB / 477.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1176, allocations: 4 kB / 477.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.1179, allocations: 103.8 kB / 477.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00085/0.1187, allocations: 0.8449 MB / 478.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006121/0.1193, allocations: 297.2 kB / 478.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.1196, allocations: 96.25 kB / 479 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.1196, allocations: 4 kB / 479 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004576/0.1201, allocations: 232.4 kB / 479.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.804e-06/0.1201, allocations: 3.938 kB / 479.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001925/0.122, allocations: 0.9916 MB / 480.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.613e-05/0.1221, allocations: 162.2 kB / 480.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006244/0.1227, allocations: 0.6198 MB / 481 MB, free: 2.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.1228, allocations: 37.7 kB / 481 MB, free: 2.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.1229, allocations: 213.1 kB / 481.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.373e-05/0.123, allocations: 122.3 kB / 481.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.49e-05/0.1231, allocations: 74.12 kB / 481.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1233, allocations: 370.7 kB / 481.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.1235, allocations: 100.8 kB / 481.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.1238, allocations: 188.8 kB / 482.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/0.1243, allocations: 296.5 kB / 482.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1243, allocations: 0 / 482.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000719/0.125, allocations: 404.6 kB / 482.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.125, allocations: 4 kB / 482.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.125, allocations: 4 kB / 482.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.1251, allocations: 4 kB / 482.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.1254, allocations: 83.84 kB / 482.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.1254, allocations: 7.984 kB / 482.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.1256, allocations: 20.16 kB / 482.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.1256, allocations: 25.48 kB / 482.9 MB, free: 0.9414 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.0002218/0.1259, allocations: 200.3 kB / 483.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.05e-05/0.126, allocations: 63.2 kB / 483.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.1261, allocations: 67.91 kB / 483.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1261, allocations: 4 kB / 483.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.1261, allocations: 4 kB / 483.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.1261, allocations: 0 / 483.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.1276, allocations: 1.269 MB / 484.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.1276, allocations: 0 / 484.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.1277, allocations: 47.92 kB / 484.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.1277, allocations: 7.984 kB / 484.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.1278, allocations: 23.92 kB / 484.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.1278, allocations: 8 kB / 484.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1278, allocations: 3.938 kB / 484.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000844/0.1286, allocations: 0.8085 MB / 485.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.941e-05/0.1287, allocations: 124.4 kB / 485.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/0.1288, allocations: 19.88 kB / 485.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.1291, allocations: 19.98 kB / 485.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/0.1292, allocations: 31.95 kB / 485.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.1293, allocations: 23.98 kB / 485.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004404/0.1297, allocations: 454.8 kB / 486.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1297, allocations: 4 kB / 486.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005584/0.1303, allocations: 76 kB / 486.1 MB, free: 13.57 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.001117/0.1314, allocations: 489.7 kB / 486.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006696/0.1321, allocations: 319.7 kB / 486.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1321, allocations: 0 / 486.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.1324, allocations: 156.4 kB / 487.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.1335, allocations: 147.3 kB / 487.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.1348, allocations: 0.8978 MB / 488.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.1353, allocations: 0.8551 MB / 489 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.1354, allocations: 51.42 kB / 489 MB, free: 10.78 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1354, allocations: 3.938 kB / 489 MB, free: 10.77 MB / 366.1 MB Notification: Performance of Templates: time 0.009396/0.1448, allocations: 6.302 MB / 495.3 MB, free: 4.504 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