Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001444, allocations: 105 kB / 16.27 MB, free: 5.93 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.001448/0.001448, allocations: 192.5 kB / 17.2 MB, free: 5.574 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.676/1.676, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2332/0.2332, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 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.001591/0.001591, allocations: 64.66 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1215, allocations: 57.79 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003186/0.1247, allocations: 1.605 MB / 442.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006076/0.1253, allocations: 347.4 kB / 442.5 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.1254, allocations: 0 / 442.5 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.1257, allocations: 55.8 kB / 442.5 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.1259, allocations: 59.75 kB / 442.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.1263, allocations: 150.7 kB / 442.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.1264, allocations: 75.77 kB / 442.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1265, allocations: 23.91 kB / 442.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.59e-05/0.1266, allocations: 31.92 kB / 442.9 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.395e-05/0.1267, allocations: 47.81 kB / 442.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1267, allocations: 4 kB / 442.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.837e-05/0.1268, allocations: 32 kB / 442.9 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/0.1268, allocations: 23.91 kB / 443 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.495e-05/0.1269, allocations: 31.75 kB / 443 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.1271, allocations: 83.7 kB / 443.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1271, allocations: 0 / 443.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1271, allocations: 0 / 443.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1271, allocations: 4 kB / 443.1 MB, free: 4.332 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004037/0.1275, allocations: 407 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.1275, allocations: 11.89 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.1276, allocations: 12.75 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.1277, allocations: 202.1 kB / 443.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.1277, allocations: 384 / 443.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.1278, allocations: 8.375 kB / 443.7 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.1279, allocations: 61.73 kB / 443.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.128, allocations: 4 kB / 443.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.128, allocations: 4 kB / 443.8 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.128, allocations: 0 / 443.8 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.1281, allocations: 35.97 kB / 443.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.1285, allocations: 308.8 kB / 444.1 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.1286, allocations: 54.48 kB / 444.2 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.437e-05/0.1287, allocations: 24.94 kB / 444.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.1287, allocations: 7.938 kB / 444.2 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.1287, allocations: 30.56 kB / 444.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1288, allocations: 0 / 444.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007255/0.1295, allocations: 229.5 kB / 444.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.1295, allocations: 55.41 kB / 444.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1296, allocations: 186.1 kB / 444.7 MB, free: 2.535 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.1297, allocations: 25.7 kB / 444.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.1297, allocations: 100.1 kB / 444.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.1297, allocations: 31.56 kB / 444.8 MB, free: 2.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.1298, allocations: 17.72 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.089e-05/0.1298, allocations: 326.8 kB / 445.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.1299, allocations: 35.97 kB / 445.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.391e-05/0.13, allocations: 48.02 kB / 445.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.1302, allocations: 88.73 kB / 445.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1303, allocations: 0 / 445.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002532/0.1305, allocations: 125.5 kB / 445.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1305, allocations: 4 kB / 445.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1305, allocations: 3.938 kB / 445.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1306, allocations: 7.984 kB / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1307, allocations: 19.98 kB / 445.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1307, allocations: 0 / 445.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/0.1308, allocations: 15.92 kB / 445.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1308, allocations: 4 kB / 445.5 MB, free: 1.664 MB / 318.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 (7): * Single equations (assignments): 7 * 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 6.354e-05/0.1308, allocations: 133.7 kB / 445.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.1309, allocations: 7.906 kB / 445.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.1312, allocations: 142.3 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1312, allocations: 0 / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1312, allocations: 4 kB / 445.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1312, allocations: 7.922 kB / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.1316, allocations: 406.4 kB / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1316, allocations: 4 kB / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.343e-05/0.1317, allocations: 19.98 kB / 446.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1317, allocations: 0 / 446.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1317, allocations: 3.938 kB / 446.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1317, allocations: 0 / 446.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1317, allocations: 0 / 446.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.132, allocations: 227.3 kB / 446.5 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.132, allocations: 84.95 kB / 446.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.1321, allocations: 7.938 kB / 446.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.833e-05/0.1322, allocations: 11.98 kB / 446.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.1322, allocations: 7.984 kB / 446.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.1322, allocations: 0 / 446.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.446e-05/0.1323, allocations: 143.2 kB / 446.7 MB, free: 376 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1323, allocations: 0 / 446.7 MB, free: 376 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1326, allocations: 28 kB / 446.7 MB, free: 348 kB / 318.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 (7): * Single equations (assignments): 7 * 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.0008173/0.1334, allocations: 400.9 kB / 447.1 MB, free: 24 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000335/0.1337, allocations: 99.84 kB / 447.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1337, allocations: 0 / 447.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.1339, allocations: 56.11 kB / 447.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.1343, allocations: 19.98 kB / 447.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005065/0.1348, allocations: 234.5 kB / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.1351, allocations: 0.7168 MB / 448.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.507e-05/0.1352, allocations: 19.97 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.1352, allocations: 11.44 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1352, allocations: 0 / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of Templates: time 0.004457/0.1397, allocations: 1.295 MB / 449.6 MB, free: 13.54 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches