Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007134/0.0007134, allocations: 99.02 kB / 18.01 MB, free: 5.734 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.0007891/0.0007893, allocations: 180.8 kB / 18.91 MB, free: 4.871 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.502/1.502, allocations: 223.3 MB / 242.9 MB, free: 14.48 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.2128/0.2128, allocations: 44.24 MB / 338.3 MB, free: 2.402 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.0003111, allocations: 13.81 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.11, allocations: 61.93 MB / 472.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002006/0.1121, allocations: 1.413 MB / 474.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.1135, allocations: 0.8499 MB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.463e-05/0.1136, allocations: 0 / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.1138, allocations: 39.88 kB / 475.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.114, allocations: 43.83 kB / 475.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.1143, allocations: 99.77 kB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.1145, allocations: 87.7 kB / 475.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.936e-05/0.1146, allocations: 16.22 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.742e-05/0.1147, allocations: 39.78 kB / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.917e-05/0.1148, allocations: 27.86 kB / 475.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.1148, allocations: 0 / 475.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1149, allocations: 47.91 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.115, allocations: 19.92 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.041e-05/0.115, allocations: 61.44 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.1152, allocations: 88.09 kB / 475.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1152, allocations: 0 / 475.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1152, allocations: 0 / 475.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1152, allocations: 0 / 475.7 MB, free: 10.43 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004671/0.1157, allocations: 391.1 kB / 476.1 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1157, allocations: 12.03 kB / 476.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.1158, allocations: 16.75 kB / 476.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.116, allocations: 224.7 kB / 476.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.116, allocations: 384 / 476.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.1161, allocations: 8.125 kB / 476.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.1162, allocations: 53.67 kB / 476.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1162, allocations: 0 / 476.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.1162, allocations: 0 / 476.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1162, allocations: 3.984 kB / 476.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.731e-05/0.1163, allocations: 20 kB / 476.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.1167, allocations: 288.9 kB / 476.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.1168, allocations: 54.62 kB / 476.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.531e-05/0.1169, allocations: 24.84 kB / 476.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1169, allocations: 4 kB / 476.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.1171, allocations: 71.3 kB / 476.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1171, allocations: 0 / 476.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004992/0.1176, allocations: 177.1 kB / 477.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.1176, allocations: 55.41 kB / 477.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.1178, allocations: 191.3 kB / 477.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1179, allocations: 29.7 kB / 477.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.1179, allocations: 108.1 kB / 477.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.1179, allocations: 23.66 kB / 477.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.118, allocations: 21.7 kB / 477.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1181, allocations: 326.8 kB / 477.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.461e-05/0.1182, allocations: 20 kB / 477.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.421e-05/0.1182, allocations: 37.69 kB / 477.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.1183, allocations: 57.7 kB / 477.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1183, allocations: 0 / 477.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001804/0.1185, allocations: 105.5 kB / 478 MB, free: 7.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1186, allocations: 4 kB / 478 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1186, allocations: 8.359 kB / 478 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.1186, allocations: 0 / 478 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.611e-05/0.1187, allocations: 12 kB / 478 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1187, allocations: 3.938 kB / 478.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.1187, allocations: 11.94 kB / 478.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.1188, allocations: 8 kB / 478.1 MB, free: 7.867 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.963e-05/0.1189, allocations: 128.5 kB / 478.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.1189, allocations: 15.81 kB / 478.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.1189, allocations: 17.39 kB / 478.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1189, allocations: 0 / 478.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.119, allocations: 0 / 478.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.119, allocations: 7.938 kB / 478.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.1194, allocations: 387.3 kB / 478.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1194, allocations: 0 / 478.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/0.1194, allocations: 16.02 kB / 478.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.1195, allocations: 4 kB / 478.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1195, allocations: 7.938 kB / 478.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1195, allocations: 240 / 478.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1195, allocations: 4 kB / 478.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.1197, allocations: 204.1 kB / 478.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.1198, allocations: 89 kB / 478.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.1198, allocations: 11.94 kB / 478.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.1199, allocations: 4 kB / 478.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.1199, allocations: 3.984 kB / 479 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.1199, allocations: 8 kB / 479 MB, free: 6.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1201, allocations: 148.9 kB / 479.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1201, allocations: 0 / 479.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1203, allocations: 24.19 kB / 479.1 MB, free: 6.707 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001009/0.1214, allocations: 481.7 kB / 479.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.1215, allocations: 59.89 kB / 479.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1215, allocations: 0 / 479.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.687e-05/0.1216, allocations: 40.05 kB / 479.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.122, allocations: 23.98 kB / 479.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.1224, allocations: 284 kB / 480 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.1227, allocations: 0.7043 MB / 480.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.1227, allocations: 19.44 kB / 480.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1228, allocations: 0 / 480.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of Templates: time 0.00367/0.1264, allocations: 1.911 MB / 482.6 MB, free: 3.324 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches