Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, 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.001372/0.001372, 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.395/1.395, 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.204/0.204, allocations: 44.19 MB / 337.3 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 64.05 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09874/0.09999, allocations: 60.83 MB / 469.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002885/0.1029, allocations: 1.634 MB / 471.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007722/0.1037, allocations: 459 kB / 472 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.1038, allocations: 0 / 472 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.104, allocations: 51.81 kB / 472.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.1042, allocations: 55.75 kB / 472.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.1047, allocations: 178.3 kB / 472.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.1048, allocations: 79.81 kB / 472.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1049, allocations: 23.98 kB / 472.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.656e-05/0.105, allocations: 31.86 kB / 472.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.646e-05/0.1051, allocations: 51.81 kB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.1051, allocations: 4 kB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.852e-05/0.1052, allocations: 51.92 kB / 472.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.576e-05/0.1053, allocations: 23.91 kB / 472.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.231e-05/0.1054, allocations: 31.8 kB / 472.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.1056, allocations: 108 kB / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1056, allocations: 0 / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1056, allocations: 0 / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1056, allocations: 4 kB / 472.7 MB, free: 11.58 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005076/0.1061, allocations: 411 kB / 473.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1061, allocations: 8.031 kB / 473.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.1062, allocations: 12.83 kB / 473.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.1064, allocations: 203.7 kB / 473.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.1064, allocations: 384 / 473.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.1065, allocations: 4.375 kB / 473.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.1067, allocations: 77.78 kB / 473.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1067, allocations: 0 / 473.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1067, allocations: 0 / 473.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1067, allocations: 0 / 473.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.1069, allocations: 47.91 kB / 473.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.1074, allocations: 324.6 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.1076, allocations: 62.58 kB / 473.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.046e-05/0.1077, allocations: 24.97 kB / 473.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.1077, allocations: 0 / 473.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.1078, allocations: 38.55 kB / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1078, allocations: 7.938 kB / 473.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001512/0.1093, allocations: 413.2 kB / 474.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.1093, allocations: 55.34 kB / 474.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.1095, allocations: 182.2 kB / 474.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1095, allocations: 25.7 kB / 474.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.1096, allocations: 116 kB / 474.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.1096, allocations: 39.45 kB / 474.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.1097, allocations: 21.72 kB / 474.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1098, allocations: 330.8 kB / 475 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.1099, allocations: 51.95 kB / 475.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.1101, allocations: 51.95 kB / 475.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.1104, allocations: 129.1 kB / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1104, allocations: 0 / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003346/0.1107, allocations: 161.4 kB / 475.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1107, allocations: 8 kB / 475.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1108, allocations: 0 / 475.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.94e-05/0.1108, allocations: 0 / 475.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.1109, allocations: 39.84 kB / 475.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1109, allocations: 0 / 475.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.099e-05/0.111, allocations: 8 kB / 475.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.111, allocations: 7.984 kB / 475.5 MB, free: 8.555 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.97e-05/0.1111, allocations: 125.8 kB / 475.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.1112, allocations: 11.81 kB / 475.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004139/0.1116, allocations: 198.2 kB / 475.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.1116, allocations: 7.938 kB / 475.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1116, allocations: 0 / 475.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1116, allocations: 0 / 475.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006704/0.1123, allocations: 0.4961 MB / 476.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1123, allocations: 0 / 476.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.1124, allocations: 23.98 kB / 476.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1124, allocations: 0 / 476.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.1124, allocations: 4 kB / 476.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1125, allocations: 0 / 476.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1125, allocations: 192 / 476.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.1128, allocations: 281 kB / 476.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.1129, allocations: 92.95 kB / 476.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.1129, allocations: 7.984 kB / 476.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.573e-05/0.113, allocations: 8 kB / 476.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.1131, allocations: 15.98 kB / 476.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.1131, allocations: 4 kB / 476.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.1132, allocations: 144.9 kB / 476.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1132, allocations: 0 / 476.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.1135, allocations: 28 kB / 476.9 MB, free: 7.008 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001035/0.1146, allocations: 449.9 kB / 477.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003883/0.115, allocations: 147.7 kB / 477.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.115, allocations: 0 / 477.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.1151, allocations: 71.89 kB / 477.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.1156, allocations: 35.72 kB / 477.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005737/0.1161, allocations: 318.1 kB / 477.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.1164, allocations: 0.7119 MB / 478.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.1165, allocations: 19.42 kB / 478.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1165, allocations: 0 / 478.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of Templates: time 0.003912/0.1204, allocations: 2.012 MB / 480.7 MB, free: 3.383 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches