Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008366/0.0008369, allocations: 92.48 kB / 18 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.001062/0.001062, allocations: 178.7 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.46/1.46, allocations: 223.3 MB / 242.9 MB, free: 84 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1908/0.1908, allocations: 44.25 MB / 338.3 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003284, allocations: 8 kB / 411 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1024, allocations: 61.93 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002014/0.1045, allocations: 1.352 MB / 474.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008397/0.1053, allocations: 435.2 kB / 474.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.1054, allocations: 0 / 474.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.1057, allocations: 55.86 kB / 474.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.1058, allocations: 43.83 kB / 474.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.1063, allocations: 161.8 kB / 474.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.1064, allocations: 75.77 kB / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1065, allocations: 23.97 kB / 475 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.349e-05/0.1066, allocations: 23.92 kB / 475.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.698e-05/0.1067, allocations: 35.78 kB / 475.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1067, allocations: 0 / 475.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1068, allocations: 47.97 kB / 475.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.1069, allocations: 23.92 kB / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.1069, allocations: 57.45 kB / 475.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.1071, allocations: 68.16 kB / 475.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1071, allocations: 0 / 475.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1071, allocations: 0 / 475.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1071, allocations: 7.938 kB / 475.3 MB, free: 10.94 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.0004713/0.1076, allocations: 395.2 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1076, allocations: 12.03 kB / 475.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.1077, allocations: 12.84 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.1079, allocations: 194.5 kB / 475.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1079, allocations: 4.375 kB / 475.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.1079, allocations: 4.312 kB / 475.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.1081, allocations: 77.78 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1082, allocations: 3.906 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.1082, allocations: 0 / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1082, allocations: 4 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.1083, allocations: 55.95 kB / 476 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.1088, allocations: 320.7 kB / 476.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.1091, allocations: 62.55 kB / 476.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.564e-05/0.1092, allocations: 28.97 kB / 476.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1092, allocations: 4 kB / 476.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1092, allocations: 42.58 kB / 476.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1092, allocations: 0 / 476.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001571/0.1108, allocations: 489.3 kB / 477 MB, free: 9.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.1109, allocations: 59.34 kB / 477 MB, free: 9.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.111, allocations: 165.8 kB / 477.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.1111, allocations: 25.7 kB / 477.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.1111, allocations: 100 kB / 477.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.1112, allocations: 39.39 kB / 477.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.1112, allocations: 17.72 kB / 477.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1113, allocations: 326.8 kB / 477.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.1115, allocations: 63.89 kB / 477.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.1116, allocations: 67.95 kB / 477.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.1119, allocations: 136.7 kB / 478 MB, free: 8.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1119, allocations: 4 kB / 478 MB, free: 8.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003739/0.1123, allocations: 177.5 kB / 478.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1123, allocations: 4 kB / 478.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1124, allocations: 7.938 kB / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1124, allocations: 0 / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1125, allocations: 36.09 kB / 478.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1125, allocations: 4 kB / 478.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.008e-05/0.1126, allocations: 19.92 kB / 478.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.1126, allocations: 0 / 478.2 MB, free: 7.812 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 9.677e-05/0.1127, allocations: 134.3 kB / 478.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.1127, allocations: 7.906 kB / 478.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004627/0.1132, allocations: 214.1 kB / 478.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1132, allocations: 0 / 478.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1132, allocations: 0 / 478.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.1132, allocations: 0 / 478.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007169/0.114, allocations: 0.5077 MB / 479.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.114, allocations: 4 kB / 479.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.1141, allocations: 35.98 kB / 479.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1141, allocations: 0 / 479.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1141, allocations: 4 kB / 479.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1141, allocations: 0 / 479.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1141, allocations: 0 / 479.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.1146, allocations: 285.6 kB / 479.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.1146, allocations: 88.92 kB / 479.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.1147, allocations: 7.984 kB / 479.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1148, allocations: 16 kB / 479.5 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.1148, allocations: 15.92 kB / 479.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.1148, allocations: 0 / 479.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.1149, allocations: 140.7 kB / 479.6 MB, free: 6.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1149, allocations: 0 / 479.6 MB, free: 6.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.1152, allocations: 28 kB / 479.7 MB, free: 6.227 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.001037/0.1163, allocations: 464.6 kB / 480.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003643/0.1166, allocations: 139.9 kB / 480.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1167, allocations: 0 / 480.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.1168, allocations: 80.02 kB / 480.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.1172, allocations: 23.97 kB / 480.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005278/0.1177, allocations: 336.8 kB / 480.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.118, allocations: 0.7121 MB / 481.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.1181, allocations: 19.44 kB / 481.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1181, allocations: 0 / 481.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of Templates: time 0.003683/0.1218, allocations: 1.969 MB / 483.4 MB, free: 2.617 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches