Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001809/0.001809, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.381/1.381, allocations: 222.9 MB / 243 MB, free: 15.16 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.2088/0.2088, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 74.11 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1049, allocations: 60.81 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002851/0.1078, allocations: 1.706 MB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.1097, allocations: 1.479 MB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.356e-05/0.1098, allocations: 4 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.1101, allocations: 43.77 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.1104, allocations: 55.7 kB / 474 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.1107, allocations: 111.4 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.1109, allocations: 99.69 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.111, allocations: 16.22 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.48e-05/0.1111, allocations: 35.8 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.1112, allocations: 39.83 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.1112, allocations: 4 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.1114, allocations: 63.97 kB / 474.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.1114, allocations: 15.92 kB / 474.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.928e-05/0.1115, allocations: 39.67 kB / 474.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.1117, allocations: 119.6 kB / 474.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1117, allocations: 0 / 474.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1117, allocations: 0 / 474.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1117, allocations: 0 / 474.5 MB, free: 9.809 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.0004962/0.1122, allocations: 403.2 kB / 474.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.1122, allocations: 8.031 kB / 474.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.1123, allocations: 16.83 kB / 474.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.1125, allocations: 212.1 kB / 475.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1125, allocations: 384 / 475.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.1126, allocations: 8.125 kB / 475.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.1127, allocations: 67.33 kB / 475.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1128, allocations: 4 kB / 475.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.567e-06/0.1128, allocations: 0 / 475.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1128, allocations: 0 / 475.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.204e-05/0.1129, allocations: 27.98 kB / 475.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.1132, allocations: 272.9 kB / 475.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.1134, allocations: 66.55 kB / 475.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.13e-05/0.1134, allocations: 16.86 kB / 475.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.1135, allocations: 8 kB / 475.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.1136, allocations: 71.38 kB / 475.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1136, allocations: 0 / 475.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005367/0.1142, allocations: 177.1 kB / 475.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.1142, allocations: 77.11 kB / 475.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.1144, allocations: 152.4 kB / 476.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1144, allocations: 25.7 kB / 476.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.1145, allocations: 104.1 kB / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.1145, allocations: 19.7 kB / 476.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/0.1146, allocations: 29.7 kB / 476.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1147, allocations: 322.8 kB / 476.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.628e-05/0.1147, allocations: 23.92 kB / 476.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.205e-05/0.1148, allocations: 42.56 kB / 476.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1149, allocations: 57.73 kB / 476.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1149, allocations: 4 kB / 476.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001759/0.1151, allocations: 97.53 kB / 476.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1151, allocations: 7.438 kB / 476.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1152, allocations: 192 / 476.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1152, allocations: 4 kB / 476.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.584e-05/0.1153, allocations: 19.92 kB / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1153, allocations: 0 / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.1153, allocations: 15.91 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-06/0.1154, allocations: 3.938 kB / 476.8 MB, free: 7.246 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.0001006/0.1155, allocations: 125.8 kB / 477 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.1155, allocations: 7.906 kB / 477 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.1155, allocations: 12.72 kB / 477 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1155, allocations: 0 / 477 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1155, allocations: 0 / 477 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1156, allocations: 11.92 kB / 477 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/0.116, allocations: 387.3 kB / 477.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.116, allocations: 4 kB / 477.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/0.116, allocations: 8 kB / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1161, allocations: 0 / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.1161, allocations: 7.875 kB / 477.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1161, allocations: 3.984 kB / 477.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1161, allocations: 4 kB / 477.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.1163, allocations: 208.2 kB / 477.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.1164, allocations: 81.02 kB / 477.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.1164, allocations: 8.312 kB / 477.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.1165, allocations: 0 / 477.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.1165, allocations: 19.95 kB / 477.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.1165, allocations: 8 kB / 477.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.253e-05/0.1166, allocations: 115.2 kB / 477.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1166, allocations: 0 / 477.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1169, allocations: 32 kB / 477.9 MB, free: 6.113 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.001124/0.118, allocations: 497.2 kB / 478.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1182, allocations: 59.91 kB / 478.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1183, allocations: 0 / 478.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.1184, allocations: 31.94 kB / 478.4 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.1187, allocations: 27.91 kB / 478.5 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.1191, allocations: 195 kB / 478.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.1194, allocations: 0.7012 MB / 479.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.606e-05/0.1195, allocations: 17.17 kB / 479.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.1195, allocations: 15.44 kB / 479.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1195, allocations: 4 kB / 479.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of Templates: time 0.004929/0.1245, allocations: 1.974 MB / 481.4 MB, free: 2.762 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches