Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.00136/0.00136, allocations: 193.3 kB / 18.9 MB, free: 4.48 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.322/1.322, allocations: 222.9 MB / 242.6 MB, free: 15.28 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.2205/0.2205, allocations: 44.18 MB / 336.9 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 66.08 kB / 408.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.108, allocations: 60.81 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003412/0.1115, allocations: 1.699 MB / 471.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007998/0.1123, allocations: 447.2 kB / 471.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.345e-05/0.1124, allocations: 7.938 kB / 471.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.1127, allocations: 47.86 kB / 471.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.1129, allocations: 55.88 kB / 471.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.1133, allocations: 159.5 kB / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.1135, allocations: 79.77 kB / 471.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1136, allocations: 23.97 kB / 471.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.967e-05/0.1137, allocations: 31.92 kB / 471.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1138, allocations: 51.75 kB / 472 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.1138, allocations: 4 kB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.114, allocations: 51.92 kB / 472 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.26e-05/0.114, allocations: 27.92 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.1141, allocations: 35.78 kB / 472.1 MB, free: 12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.1143, allocations: 72.19 kB / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1143, allocations: 0 / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1143, allocations: 0 / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.1143, allocations: 0 / 472.1 MB, free: 11.93 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.00055/0.1148, allocations: 415 kB / 472.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1149, allocations: 8.031 kB / 472.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.1149, allocations: 12.84 kB / 472.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.1152, allocations: 204.6 kB / 472.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1152, allocations: 8.375 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.1152, allocations: 7.938 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.1154, allocations: 61.67 kB / 472.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1154, allocations: 0 / 472.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1154, allocations: 0 / 472.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1155, allocations: 4 kB / 472.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.1156, allocations: 47.89 kB / 472.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.1161, allocations: 316.7 kB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.1163, allocations: 66.58 kB / 473.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.363e-05/0.1164, allocations: 24.97 kB / 473.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.1164, allocations: 4 kB / 473.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1165, allocations: 34.56 kB / 473.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.1165, allocations: 3.938 kB / 473.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001437/0.1179, allocations: 416.7 kB / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.118, allocations: 51.41 kB / 473.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.1182, allocations: 180.1 kB / 474 MB, free: 9.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1182, allocations: 25.7 kB / 474 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.229e-05/0.1183, allocations: 112 kB / 474.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.1184, allocations: 39.53 kB / 474.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.1185, allocations: 21.72 kB / 474.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1186, allocations: 322.8 kB / 474.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.1187, allocations: 59.89 kB / 474.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.1189, allocations: 55.95 kB / 474.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.1192, allocations: 124.8 kB / 474.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1192, allocations: 0 / 474.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003154/0.1195, allocations: 166.3 kB / 474.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1196, allocations: 10.5 kB / 474.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1196, allocations: 3.938 kB / 474.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1196, allocations: 0 / 474.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.1197, allocations: 31.91 kB / 474.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1197, allocations: 0 / 474.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.729e-05/0.1198, allocations: 15.98 kB / 474.9 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1198, allocations: 0 / 474.9 MB, free: 8.91 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 0.000102/0.1199, allocations: 130.4 kB / 475.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.1199, allocations: 11.89 kB / 475.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/0.1203, allocations: 198.2 kB / 475.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1203, allocations: 0 / 475.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1203, allocations: 4 kB / 475.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1204, allocations: 0 / 475.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006409/0.121, allocations: 499.9 kB / 475.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.121, allocations: 4 kB / 475.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.45e-05/0.1211, allocations: 31.92 kB / 475.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1211, allocations: 0 / 475.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1211, allocations: 8.062 kB / 475.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1212, allocations: 0 / 475.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1212, allocations: 0 / 475.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.1215, allocations: 277 kB / 476.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.1216, allocations: 96.86 kB / 476.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.1216, allocations: 7.984 kB / 476.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-05/0.1217, allocations: 8 kB / 476.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.1218, allocations: 7.984 kB / 476.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.1218, allocations: 8 kB / 476.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.1219, allocations: 138.9 kB / 476.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1219, allocations: 0 / 476.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1221, allocations: 28 kB / 476.4 MB, free: 7.367 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.001043/0.1232, allocations: 448.6 kB / 476.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003604/0.1236, allocations: 147.7 kB / 476.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1236, allocations: 0 / 476.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.1237, allocations: 71.89 kB / 477 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.1241, allocations: 21.23 kB / 477 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005297/0.1246, allocations: 349.5 kB / 477.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.1249, allocations: 0.7119 MB / 478.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.125, allocations: 15.44 kB / 478.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.125, allocations: 4 kB / 478.1 MB, free: 5.734 MB / 350.1 MB Notification: Performance of Templates: time 0.003661/0.1287, allocations: 2.005 MB / 480.1 MB, free: 3.734 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches