Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001069/0.001069, allocations: 105.3 kB / 17.03 MB, free: 6.129 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.001044/0.001044, allocations: 194.9 kB / 17.96 MB, free: 5.215 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2244/0.2244, allocations: 43.53 MB / 314.7 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 74.58 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1207, allocations: 57.79 MB / 442 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003096/0.1239, allocations: 1.946 MB / 443.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.125, allocations: 0.7603 MB / 444.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.319e-05/0.1251, allocations: 4 kB / 444.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.1255, allocations: 267.2 kB / 444.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.1258, allocations: 199.3 kB / 445.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009714/0.1268, allocations: 0.5917 MB / 445.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.1271, allocations: 299.3 kB / 446 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.1272, allocations: 84.67 kB / 446.1 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1273, allocations: 135.4 kB / 446.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.1275, allocations: 195.4 kB / 446.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.1276, allocations: 15.94 kB / 446.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1277, allocations: 67.97 kB / 446.5 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.1278, allocations: 91.67 kB / 446.6 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.127e-05/0.1279, allocations: 111 kB / 446.7 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.1282, allocations: 310.8 kB / 447 MB, free: 1.086 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1282, allocations: 7.938 kB / 447 MB, free: 1.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1282, allocations: 0 / 447 MB, free: 1.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1282, allocations: 0 / 447 MB, free: 1.078 MB / 318.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.0006201/0.1288, allocations: 0.6223 MB / 447.6 MB, free: 416 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1289, allocations: 11.89 kB / 447.6 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.1289, allocations: 40.38 kB / 447.7 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.1292, allocations: 310.3 kB / 448 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1292, allocations: 4.375 kB / 448 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.405e-05/0.1293, allocations: 20.39 kB / 448 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.1296, allocations: 126.6 kB / 448.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1296, allocations: 3.984 kB / 448.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.1296, allocations: 8 kB / 448.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.1296, allocations: 0 / 448.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.1298, allocations: 91.94 kB / 448.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006711/0.1305, allocations: 496.2 kB / 448.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.1307, allocations: 118.5 kB / 448.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.021e-05/0.1308, allocations: 40.98 kB / 448.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.1308, allocations: 4 kB / 448.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1308, allocations: 30.56 kB / 448.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.1309, allocations: 0 / 448.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000928/0.1318, allocations: 439.8 kB / 449.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.1318, allocations: 55.39 kB / 449.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005139/0.1324, allocations: 0.525 MB / 449.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.1324, allocations: 25.7 kB / 449.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.1325, allocations: 196.3 kB / 450.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.695e-05/0.1326, allocations: 63.12 kB / 450.2 MB, free: 13.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.1327, allocations: 41.64 kB / 450.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.1329, allocations: 354.8 kB / 450.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.133, allocations: 63.95 kB / 450.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.1331, allocations: 64.75 kB / 450.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.1334, allocations: 159.5 kB / 450.9 MB, free: 13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1334, allocations: 3.938 kB / 450.9 MB, free: 13 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003803/0.1338, allocations: 221.2 kB / 451.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1338, allocations: 8 kB / 451.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1338, allocations: 3.984 kB / 451.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1339, allocations: 0 / 451.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.134, allocations: 35.92 kB / 451.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.134, allocations: 0 / 451.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.911e-05/0.1341, allocations: 15.84 kB / 451.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.1341, allocations: 11.98 kB / 451.2 MB, free: 12.7 MB / 334.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.0001603/0.1343, allocations: 189.6 kB / 451.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.1344, allocations: 35.53 kB / 451.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004907/0.1349, allocations: 280.2 kB / 451.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.247e-06/0.1349, allocations: 4 kB / 451.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1349, allocations: 0 / 451.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1349, allocations: 0 / 451.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008241/0.1357, allocations: 0.6621 MB / 452.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1357, allocations: 0 / 452.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.1359, allocations: 27.98 kB / 452.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1359, allocations: 7.922 kB / 452.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.1359, allocations: 11.98 kB / 452.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1359, allocations: 0 / 452.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.1359, allocations: 3.938 kB / 452.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.1363, allocations: 330.9 kB / 452.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/0.1364, allocations: 96.73 kB / 452.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.1364, allocations: 4 kB / 452.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.1365, allocations: 15.92 kB / 452.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.1365, allocations: 11.92 kB / 452.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.1366, allocations: 8 kB / 452.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003496/0.1369, allocations: 399.1 kB / 453.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1369, allocations: 0 / 453.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.1372, allocations: 47.91 kB / 453.3 MB, free: 10.5 MB / 334.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.001618/0.1388, allocations: 0.7042 MB / 454 MB, free: 9.871 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003292/0.1392, allocations: 159.9 kB / 454.1 MB, free: 9.715 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1392, allocations: 0 / 454.1 MB, free: 9.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.1393, allocations: 87.89 kB / 454.2 MB, free: 9.629 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.1399, allocations: 79.41 kB / 454.3 MB, free: 9.555 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009684/0.1409, allocations: 0.6905 MB / 455 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.1413, allocations: 0.8104 MB / 455.8 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.1415, allocations: 57.91 kB / 455.8 MB, free: 7.938 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.1415, allocations: 27.44 kB / 455.9 MB, free: 7.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1415, allocations: 0 / 455.9 MB, free: 7.91 MB / 334.1 MB Notification: Performance of Templates: time 0.006775/0.1483, allocations: 3.26 MB / 459.1 MB, free: 4.652 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches