Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001077, allocations: 108 kB / 17.33 MB, free: 5.996 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.001094/0.001095, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.427/1.427, allocations: 222.9 MB / 241.9 MB, free: 15.37 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.2195/0.2195, allocations: 44.17 MB / 336.2 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 61.3 kB / 407.9 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1042, allocations: 60.83 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003211/0.1075, allocations: 2.014 MB / 470.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.109, allocations: 0.9474 MB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.541e-05/0.1091, allocations: 4 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004554/0.1096, allocations: 247.4 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.11, allocations: 183.5 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.1113, allocations: 0.609 MB / 472.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.1116, allocations: 307.2 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.1118, allocations: 84.53 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.112, allocations: 131.5 kB / 473.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.1122, allocations: 207.2 kB / 473.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.1123, allocations: 15.94 kB / 473.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.1124, allocations: 71.95 kB / 473.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.1125, allocations: 91.73 kB / 473.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.721e-05/0.1126, allocations: 115 kB / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.113, allocations: 299 kB / 474 MB, free: 9.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.113, allocations: 0 / 474 MB, free: 9.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.113, allocations: 4 kB / 474 MB, free: 9.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.113, allocations: 0 / 474 MB, free: 9.41 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006532/0.1137, allocations: 0.6184 MB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1137, allocations: 8.031 kB / 474.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.579e-05/0.1138, allocations: 40.47 kB / 474.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.1141, allocations: 310.2 kB / 475 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1141, allocations: 8.375 kB / 475 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.1142, allocations: 12.38 kB / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.1144, allocations: 133.7 kB / 475.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1145, allocations: 0 / 475.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1145, allocations: 4 kB / 475.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1145, allocations: 4 kB / 475.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.1147, allocations: 91.81 kB / 475.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006147/0.1153, allocations: 0.5002 MB / 475.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.1155, allocations: 106.5 kB / 475.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.181e-05/0.1156, allocations: 48.77 kB / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.1156, allocations: 7.984 kB / 475.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.1157, allocations: 30.56 kB / 475.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.1157, allocations: 224 / 475.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009643/0.1166, allocations: 438.8 kB / 476.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.1167, allocations: 55.41 kB / 476.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005143/0.1172, allocations: 0.5249 MB / 476.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.1172, allocations: 29.7 kB / 476.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.1174, allocations: 200.3 kB / 477.1 MB, free: 6.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.1174, allocations: 59.09 kB / 477.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-05/0.1175, allocations: 37.7 kB / 477.2 MB, free: 5.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1176, allocations: 350.8 kB / 477.6 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.1178, allocations: 63.95 kB / 477.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1179, allocations: 67.95 kB / 477.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.1182, allocations: 152.7 kB / 477.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.1182, allocations: 3.938 kB / 477.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003673/0.1186, allocations: 238.9 kB / 478.1 MB, free: 5.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1186, allocations: 7.938 kB / 478.1 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1186, allocations: 0 / 478.1 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.1186, allocations: 0 / 478.1 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.1188, allocations: 31.98 kB / 478.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1188, allocations: 3.938 kB / 478.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.45e-05/0.1189, allocations: 11.98 kB / 478.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1189, allocations: 4 kB / 478.2 MB, free: 5.031 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 (17): * Single equations (assignments): 17 * 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.0001594/0.1191, allocations: 181.8 kB / 478.3 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/0.1191, allocations: 39.53 kB / 478.4 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005146/0.1196, allocations: 275.3 kB / 478.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.1197, allocations: 0 / 478.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1197, allocations: 0 / 478.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1197, allocations: 0 / 478.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008346/0.1205, allocations: 0.666 MB / 479.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1205, allocations: 0 / 479.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.1207, allocations: 35.97 kB / 479.3 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1207, allocations: 0 / 479.3 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.1207, allocations: 8 kB / 479.3 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1207, allocations: 4 kB / 479.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1207, allocations: 3.938 kB / 479.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.1211, allocations: 324.9 kB / 479.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.1212, allocations: 104.7 kB / 479.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.1212, allocations: 0 / 479.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.339e-05/0.1213, allocations: 11.98 kB / 479.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.1214, allocations: 19.92 kB / 479.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1214, allocations: 4 kB / 479.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003573/0.1218, allocations: 399.1 kB / 480.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1218, allocations: 0 / 480.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003238/0.1221, allocations: 44 kB / 480.2 MB, free: 2.836 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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.001543/0.1236, allocations: 0.7018 MB / 480.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003692/0.124, allocations: 179.7 kB / 481.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.124, allocations: 0 / 481.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.1242, allocations: 90.7 kB / 481.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005724/0.1248, allocations: 75.77 kB / 481.3 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.1259, allocations: 0.7993 MB / 482.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.1263, allocations: 0.8221 MB / 482.9 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.1265, allocations: 49.89 kB / 483 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.67e-05/0.1266, allocations: 31.42 kB / 483 MB, free: 376 kB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1266, allocations: 4 kB / 483 MB, free: 372 kB / 350.1 MB Notification: Performance of Templates: time 0.006772/0.1334, allocations: 3.229 MB / 486.2 MB, free: 13.16 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches