Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 114.6 kB / 17.04 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.001183/0.001184, allocations: 192.6 kB / 17.98 MB, free: 5.227 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.782/1.782, allocations: 205.1 MB / 223.8 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.2417/0.2417, allocations: 43.52 MB / 314.7 MB, free: 496 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.001446/0.001446, allocations: 75.89 kB / 442.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1231, allocations: 57.79 MB / 0.4885 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002953/0.1261, allocations: 1.616 MB / 0.4901 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006511/0.1267, allocations: 343.5 kB / 0.4904 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.5e-05/0.1268, allocations: 0 / 0.4904 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.1271, allocations: 79.7 kB / 0.4905 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.1273, allocations: 55.8 kB / 0.4905 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.1277, allocations: 151.7 kB / 0.4907 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.1279, allocations: 79.8 kB / 0.4907 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.128, allocations: 19.98 kB / 0.4908 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.989e-05/0.1281, allocations: 39.83 kB / 0.4908 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1282, allocations: 47.83 kB / 0.4909 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.1282, allocations: 4 kB / 0.4909 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.789e-05/0.1283, allocations: 35.98 kB / 0.4909 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.976e-05/0.1283, allocations: 27.91 kB / 0.4909 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.1284, allocations: 27.75 kB / 0.4909 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.1286, allocations: 99.7 kB / 0.491 GB, free: 9.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1286, allocations: 0 / 0.491 GB, free: 9.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1286, allocations: 3.938 kB / 0.491 GB, free: 9.227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1286, allocations: 0 / 0.491 GB, free: 9.227 MB / 382.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.0005048/0.1291, allocations: 414.9 kB / 0.4914 GB, free: 8.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.1292, allocations: 15.89 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.1292, allocations: 8.844 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.1294, allocations: 196.1 kB / 0.4916 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-06/0.1294, allocations: 384 / 0.4916 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.1295, allocations: 4.375 kB / 0.4917 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1296, allocations: 61.8 kB / 0.4917 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1296, allocations: 0 / 0.4917 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1297, allocations: 4 kB / 0.4917 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1297, allocations: 7.922 kB / 0.4917 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.1298, allocations: 43.95 kB / 0.4918 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.1303, allocations: 312.7 kB / 0.4921 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.1304, allocations: 50.55 kB / 0.4921 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.226e-05/0.1305, allocations: 32.88 kB / 0.4921 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1305, allocations: 0 / 0.4921 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.1305, allocations: 34.56 kB / 0.4922 GB, free: 7.902 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1305, allocations: 0 / 0.4922 GB, free: 7.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007824/0.1313, allocations: 229 kB / 0.4924 GB, free: 7.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.1314, allocations: 55.41 kB / 0.4924 GB, free: 7.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.1316, allocations: 207.3 kB / 0.4926 GB, free: 7.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1316, allocations: 25.7 kB / 0.4927 GB, free: 7.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.1316, allocations: 108 kB / 0.4928 GB, free: 7.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.1317, allocations: 23.66 kB / 0.4928 GB, free: 7.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.1317, allocations: 29.7 kB / 0.4928 GB, free: 7.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1318, allocations: 326.8 kB / 0.4931 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.132, allocations: 39.97 kB / 0.4932 GB, free: 6.824 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.1321, allocations: 31.97 kB / 0.4932 GB, free: 6.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.1323, allocations: 101.1 kB / 0.4933 GB, free: 6.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1323, allocations: 3.938 kB / 0.4933 GB, free: 6.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002718/0.1326, allocations: 125.5 kB / 0.4934 GB, free: 6.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1326, allocations: 7.125 kB / 0.4934 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1326, allocations: 0 / 0.4934 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1326, allocations: 0 / 0.4934 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.1328, allocations: 19.98 kB / 0.4934 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1328, allocations: 4 kB / 0.4935 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.722e-05/0.1328, allocations: 15.92 kB / 0.4935 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.1328, allocations: 4 kB / 0.4935 GB, free: 6.512 MB / 382.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 8.962e-05/0.1329, allocations: 129.8 kB / 0.4936 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.133, allocations: 11.81 kB / 0.4936 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003309/0.1333, allocations: 139 kB / 0.4937 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1333, allocations: 8 kB / 0.4937 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1334, allocations: 0 / 0.4937 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1334, allocations: 3.938 kB / 0.4937 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.1339, allocations: 410.5 kB / 0.4941 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1339, allocations: 3.938 kB / 0.4941 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.839e-05/0.134, allocations: 15.98 kB / 0.4942 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.134, allocations: 8 kB / 0.4942 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.134, allocations: 7.922 kB / 0.4942 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.134, allocations: 0 / 0.4942 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.134, allocations: 0 / 0.4942 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.1344, allocations: 219.4 kB / 0.4944 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.1344, allocations: 85.02 kB / 0.4945 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.1344, allocations: 7.938 kB / 0.4945 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.932e-05/0.1345, allocations: 15.98 kB / 0.4945 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.1346, allocations: 0 / 0.4945 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.1346, allocations: 4 kB / 0.4945 GB, free: 5.352 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.1347, allocations: 159.9 kB / 0.4946 GB, free: 5.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1347, allocations: 0 / 0.4946 GB, free: 5.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.135, allocations: 23.98 kB / 0.4947 GB, free: 5.172 MB / 382.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.0009146/0.1359, allocations: 402.5 kB / 0.4951 GB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000294/0.1362, allocations: 87.92 kB / 0.4951 GB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1362, allocations: 0 / 0.4951 GB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.1364, allocations: 47.91 kB / 0.4952 GB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.1367, allocations: 19.97 kB / 0.4952 GB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006223/0.1374, allocations: 284.8 kB / 0.4955 GB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.1377, allocations: 0.7119 MB / 0.4962 GB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.1377, allocations: 11.44 kB / 0.4962 GB, free: 3.598 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1377, allocations: 0 / 0.4962 GB, free: 3.598 MB / 382.1 MB Notification: Performance of Templates: time 0.003712/0.1414, allocations: 1.728 MB / 0.4979 GB, free: 1.871 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches