Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.001041, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.0009765/0.0009766, allocations: 192 kB / 18.56 MB, free: 4.434 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.318/1.318, allocations: 222.9 MB / 242.2 MB, free: 15.18 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.1977/0.1977, allocations: 44.19 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001233, allocations: 65.22 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1201, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003122/0.1232, allocations: 1.556 MB / 470.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.125, allocations: 1.024 MB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.1251, allocations: 0 / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.1254, allocations: 23.84 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.1256, allocations: 51.7 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.126, allocations: 111.4 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.1262, allocations: 59.84 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1263, allocations: 15.98 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.791e-05/0.1264, allocations: 19.92 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.1265, allocations: 31.84 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.1266, allocations: 4 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.1267, allocations: 47.97 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.1268, allocations: 11.94 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.1268, allocations: 23.8 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.127, allocations: 83.77 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.127, allocations: 0 / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.127, allocations: 8 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1271, allocations: 0 / 472.3 MB, free: 11.3 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004405/0.1275, allocations: 371.6 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1275, allocations: 8.031 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/0.1276, allocations: 12.83 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.1278, allocations: 184.2 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1278, allocations: 4.375 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.1278, allocations: 384 / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.128, allocations: 75.45 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.128, allocations: 0 / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.128, allocations: 7.938 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1281, allocations: 3.984 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.765e-05/0.1282, allocations: 19.98 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.1285, allocations: 280.9 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1287, allocations: 46.5 kB / 473.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.1288, allocations: 20.94 kB / 473.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1288, allocations: 0 / 473.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1288, allocations: 34.56 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.1288, allocations: 0 / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005754/0.1294, allocations: 149.3 kB / 473.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.1295, allocations: 81.11 kB / 473.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.1296, allocations: 133.8 kB / 473.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1297, allocations: 25.7 kB / 473.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.1297, allocations: 92.12 kB / 473.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.1297, allocations: 23.73 kB / 473.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.1298, allocations: 17.72 kB / 473.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1299, allocations: 322.8 kB / 474.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.396e-05/0.13, allocations: 19.98 kB / 474.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.752e-05/0.1301, allocations: 41.69 kB / 474.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1302, allocations: 56.95 kB / 474.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1302, allocations: 0 / 474.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001931/0.1304, allocations: 89.55 kB / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1305, allocations: 4 kB / 474.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1305, allocations: 0 / 474.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1305, allocations: 0 / 474.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.465e-05/0.1306, allocations: 15.98 kB / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.1306, allocations: 0 / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.1306, allocations: 11.98 kB / 474.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1306, allocations: 0 / 474.4 MB, free: 8.949 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 (5): * Single equations (assignments): 5 * 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 7.859e-05/0.1307, allocations: 121.8 kB / 474.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.1307, allocations: 11.84 kB / 474.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.131, allocations: 93.61 kB / 474.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.131, allocations: 4 kB / 474.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.131, allocations: 0 / 474.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.131, allocations: 0 / 474.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.1315, allocations: 362.4 kB / 475 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1315, allocations: 0 / 475 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.367e-05/0.1315, allocations: 8 kB / 475 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1316, allocations: 3.984 kB / 475 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.1316, allocations: 0 / 475 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-05/0.1316, allocations: 3.938 kB / 475 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1316, allocations: 4 kB / 475 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.1318, allocations: 183.6 kB / 475.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.1319, allocations: 85.11 kB / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.1319, allocations: 0 / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.132, allocations: 7.938 kB / 475.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.132, allocations: 7.922 kB / 475.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-06/0.132, allocations: 4 kB / 475.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.439e-05/0.1321, allocations: 99.27 kB / 475.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1321, allocations: 0 / 475.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1324, allocations: 31.91 kB / 475.4 MB, free: 7.832 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 (5): * Single equations (assignments): 5 * 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.001015/0.1334, allocations: 437.5 kB / 475.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.1336, allocations: 59.95 kB / 475.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1337, allocations: 3.938 kB / 475.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.052e-05/0.1337, allocations: 31.92 kB / 476 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.1341, allocations: 18.81 kB / 476 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.1344, allocations: 161.5 kB / 476.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.1347, allocations: 0.6924 MB / 476.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.558e-05/0.1348, allocations: 15.97 kB / 476.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.1349, allocations: 19.42 kB / 476.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1349, allocations: 0 / 476.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of Templates: time 0.003725/0.1386, allocations: 1.364 MB / 478.2 MB, free: 5.168 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches