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.001472/0.001472, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001702/0.001702, allocations: 194 kB / 18.77 MB, free: 4.742 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.307/1.307, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2194/0.2194, allocations: 44.18 MB / 336.8 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 70.2 kB / 408.4 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1024, allocations: 60.83 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003685/0.1061, allocations: 2.341 MB / 471.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.1081, allocations: 1.271 MB / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.1083, allocations: 7.938 kB / 472.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005061/0.1088, allocations: 271.3 kB / 473.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000393/0.1092, allocations: 239.1 kB / 473.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007135/0.11, allocations: 349.5 kB / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004742/0.1105, allocations: 494.5 kB / 474.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.1106, allocations: 61 kB / 474.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002607/0.1109, allocations: 219 kB / 474.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.1112, allocations: 251 kB / 474.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.1112, allocations: 12 kB / 474.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.1114, allocations: 55.91 kB / 474.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.1115, allocations: 103.6 kB / 474.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.1117, allocations: 166.7 kB / 475 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.112, allocations: 283.7 kB / 475.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.112, allocations: 0 / 475.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.112, allocations: 0 / 475.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.112, allocations: 7.938 kB / 475.3 MB, free: 8.707 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.001096/0.1131, allocations: 0.7553 MB / 476 MB, free: 7.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1132, allocations: 12.03 kB / 476 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.249e-05/0.1133, allocations: 48.28 kB / 476.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.1137, allocations: 396 kB / 476.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.1138, allocations: 16.36 kB / 476.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.1138, allocations: 20.12 kB / 476.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.1142, allocations: 205.8 kB / 476.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1142, allocations: 3.906 kB / 476.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.1143, allocations: 4 kB / 476.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.1143, allocations: 4 kB / 476.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.1146, allocations: 99.86 kB / 476.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008279/0.1154, allocations: 0.8566 MB / 477.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.1161, allocations: 289.2 kB / 478 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.1163, allocations: 100.2 kB / 478 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.1163, allocations: 15.98 kB / 478.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004774/0.1168, allocations: 228.6 kB / 478.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.813e-06/0.1168, allocations: 4 kB / 478.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002032/0.1189, allocations: 0.9689 MB / 479.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.119, allocations: 170.1 kB / 479.4 MB, free: 4.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006252/0.1196, allocations: 0.6159 MB / 480 MB, free: 3.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.1196, allocations: 37.7 kB / 480.1 MB, free: 3.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.1198, allocations: 221.1 kB / 480.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.912e-05/0.1199, allocations: 122.4 kB / 480.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.681e-05/0.12, allocations: 74.06 kB / 480.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.1202, allocations: 370.8 kB / 480.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.1204, allocations: 100.8 kB / 480.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.1207, allocations: 180.9 kB / 481.1 MB, free: 2.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005268/0.1213, allocations: 305.3 kB / 481.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1213, allocations: 0 / 481.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007952/0.1221, allocations: 404.7 kB / 481.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.1221, allocations: 14.12 kB / 481.8 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1221, allocations: 4 kB / 481.8 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1221, allocations: 4 kB / 481.8 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.1225, allocations: 83.91 kB / 481.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.1225, allocations: 11.92 kB / 481.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.1227, allocations: 12 kB / 481.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.1227, allocations: 23.98 kB / 482 MB, free: 1.59 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.0002098/0.1229, allocations: 200.3 kB / 482.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.627e-05/0.123, allocations: 63.27 kB / 482.2 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.1232, allocations: 67.91 kB / 482.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1232, allocations: 4 kB / 482.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.1232, allocations: 3.984 kB / 482.3 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1232, allocations: 4 kB / 482.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.1247, allocations: 1.269 MB / 483.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1247, allocations: 4 kB / 483.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.1249, allocations: 47.92 kB / 483.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1249, allocations: 8.156 kB / 483.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.1249, allocations: 19.92 kB / 483.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/0.1249, allocations: 4 kB / 483.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/0.125, allocations: 4 kB / 483.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008504/0.1258, allocations: 0.8045 MB / 484.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.722e-05/0.1259, allocations: 124.4 kB / 484.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.498e-05/0.126, allocations: 15.94 kB / 484.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.1263, allocations: 19.98 kB / 484.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.321e-05/0.1264, allocations: 35.89 kB / 484.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.1265, allocations: 23.98 kB / 484.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000452/0.1269, allocations: 458.8 kB / 485.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1269, allocations: 0 / 485.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005468/0.1275, allocations: 76 kB / 485.2 MB, free: 14.22 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.1286, allocations: 496.9 kB / 485.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005987/0.1292, allocations: 295.5 kB / 486 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1292, allocations: 0 / 486 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003116/0.1296, allocations: 148.7 kB / 486.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.1306, allocations: 139 kB / 486.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.132, allocations: 1.032 MB / 487.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.1325, allocations: 0.8515 MB / 488.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.1326, allocations: 55.41 kB / 488.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1326, allocations: 0 / 488.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of Templates: time 0.008823/0.1414, allocations: 6.285 MB / 494.5 MB, free: 5.07 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