Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001087/0.001087, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.37/1.37, allocations: 222.9 MB / 242.9 MB, free: 15.17 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.2106/0.2106, allocations: 44.18 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 68.75 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.102, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003244/0.1053, allocations: 1.695 MB / 471.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.107, allocations: 0.8807 MB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.1072, allocations: 0 / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.1075, allocations: 39.78 kB / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.1079, allocations: 59.75 kB / 472.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.1083, allocations: 111.4 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.1085, allocations: 95.7 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1087, allocations: 12.22 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.1088, allocations: 47.77 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.148e-05/0.1089, allocations: 23.86 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.1089, allocations: 8 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.1091, allocations: 43.92 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.458e-05/0.1092, allocations: 19.91 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.357e-05/0.1092, allocations: 31.75 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.1095, allocations: 119.9 kB / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1095, allocations: 0 / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1095, allocations: 4 kB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1095, allocations: 0 / 473.1 MB, free: 11.16 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.0006377/0.1102, allocations: 403 kB / 473.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1102, allocations: 8.031 kB / 473.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.1103, allocations: 16.84 kB / 473.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.1105, allocations: 208 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.1105, allocations: 8.297 kB / 473.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.1106, allocations: 8.125 kB / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1107, allocations: 53.67 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1108, allocations: 0 / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1108, allocations: 0 / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1108, allocations: 0 / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.1109, allocations: 23.98 kB / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.1113, allocations: 292.8 kB / 474.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.1115, allocations: 50.69 kB / 474.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.1115, allocations: 20.84 kB / 474.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.1116, allocations: 4 kB / 474.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.1118, allocations: 71.33 kB / 474.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1118, allocations: 0 / 474.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005825/0.1124, allocations: 173.2 kB / 474.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.1125, allocations: 55.41 kB / 474.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.1126, allocations: 186.2 kB / 474.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1126, allocations: 29.64 kB / 474.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.1127, allocations: 96.14 kB / 474.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.1127, allocations: 31.64 kB / 474.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.1128, allocations: 21.72 kB / 474.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1129, allocations: 330.8 kB / 475.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.684e-05/0.113, allocations: 19.98 kB / 475.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.378e-05/0.113, allocations: 33.7 kB / 475.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1131, allocations: 66.06 kB / 475.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1132, allocations: 4 kB / 475.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001894/0.1134, allocations: 101.5 kB / 475.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1134, allocations: 4 kB / 475.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1134, allocations: 4 kB / 475.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1134, allocations: 4 kB / 475.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.1135, allocations: 23.92 kB / 475.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1135, allocations: 0 / 475.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.1136, allocations: 7.938 kB / 475.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1136, allocations: 0 / 475.4 MB, free: 8.617 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 0.0001089/0.1137, allocations: 133.9 kB / 475.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.1137, allocations: 7.906 kB / 475.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.1138, allocations: 16.7 kB / 475.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1138, allocations: 4.188 kB / 475.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1138, allocations: 0 / 475.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1138, allocations: 7.875 kB / 475.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.1143, allocations: 387.3 kB / 476 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1143, allocations: 0 / 476 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.1144, allocations: 12 kB / 476 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.1144, allocations: 4 kB / 476 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1144, allocations: 7.922 kB / 476 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1144, allocations: 0 / 476 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1144, allocations: 3.984 kB / 476 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.1146, allocations: 208.2 kB / 476.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.1147, allocations: 88.95 kB / 476.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.1147, allocations: 7.938 kB / 476.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.831e-05/0.1148, allocations: 0 / 476.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.1149, allocations: 7.984 kB / 476.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.1149, allocations: 8 kB / 476.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.115, allocations: 143.2 kB / 476.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.115, allocations: 0 / 476.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000279/0.1153, allocations: 20 kB / 476.5 MB, free: 7.461 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.001062/0.1164, allocations: 455.3 kB / 476.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.1166, allocations: 67.91 kB / 477 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1166, allocations: 4.062 kB / 477 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.1167, allocations: 35.91 kB / 477 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.1171, allocations: 28.23 kB / 477 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004994/0.1176, allocations: 264.9 kB / 477.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.1179, allocations: 0.704 MB / 478 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.1179, allocations: 15.44 kB / 478 MB, free: 6.02 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1179, allocations: 0 / 478 MB, free: 6.02 MB / 350.1 MB Notification: Performance of Templates: time 0.004061/0.122, allocations: 1.905 MB / 479.9 MB, free: 4.129 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches