Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 116.5 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.001741/0.001741, 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.821/1.821, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2368/0.2368, allocations: 43.52 MB / 314.7 MB, free: 484 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.001429/0.001429, allocations: 77.45 kB / 442.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1263, allocations: 57.78 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.00401/0.1304, allocations: 1.616 MB / 0.4901 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.1324, allocations: 0.9651 MB / 0.491 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.347e-05/0.1325, allocations: 4 kB / 0.491 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.1329, allocations: 23.86 kB / 0.491 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.1331, allocations: 43.78 kB / 0.4911 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005431/0.1337, allocations: 155.6 kB / 0.4912 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.1339, allocations: 75.77 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.134, allocations: 15.98 kB / 0.4913 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.521e-05/0.1341, allocations: 27.91 kB / 0.4913 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.1343, allocations: 31.84 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.1343, allocations: 4 kB / 0.4914 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.1345, allocations: 51.97 kB / 0.4914 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.691e-05/0.1346, allocations: 23.92 kB / 0.4914 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/0.1346, allocations: 19.81 kB / 0.4915 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.1349, allocations: 107.7 kB / 0.4916 GB, free: 8.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1349, allocations: 0 / 0.4916 GB, free: 8.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.135, allocations: 0 / 0.4916 GB, free: 8.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.135, allocations: 0 / 0.4916 GB, free: 8.664 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.0006563/0.1356, allocations: 383.2 kB / 0.4919 GB, free: 8.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.1357, allocations: 15.89 kB / 0.4919 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.217e-05/0.1358, allocations: 12.83 kB / 0.492 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.136, allocations: 188.2 kB / 0.4921 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.136, allocations: 384 / 0.4921 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.1361, allocations: 8.375 kB / 0.4921 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.1363, allocations: 79.44 kB / 0.4922 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1364, allocations: 0 / 0.4922 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.1364, allocations: 7.984 kB / 0.4922 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1364, allocations: 0 / 0.4922 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.1366, allocations: 47.95 kB / 0.4923 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006924/0.1373, allocations: 300.7 kB / 0.4926 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.1375, allocations: 50.59 kB / 0.4926 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.997e-05/0.1376, allocations: 28.83 kB / 0.4926 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1376, allocations: 4 kB / 0.4926 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.1377, allocations: 30.56 kB / 0.4927 GB, free: 7.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.1377, allocations: 0 / 0.4927 GB, free: 7.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001101/0.1388, allocations: 217.3 kB / 0.4929 GB, free: 7.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001965/0.139, allocations: 85.05 kB / 0.493 GB, free: 7.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1392, allocations: 137.8 kB / 0.4931 GB, free: 6.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.1392, allocations: 25.7 kB / 0.4931 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.1393, allocations: 96.05 kB / 0.4932 GB, free: 6.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.1394, allocations: 19.77 kB / 0.4932 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.614e-05/0.1394, allocations: 21.72 kB / 0.4932 GB, free: 6.723 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.1397, allocations: 322.8 kB / 0.4936 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.1398, allocations: 43.97 kB / 0.4936 GB, free: 6.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.14, allocations: 53.62 kB / 0.4936 GB, free: 6.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.1404, allocations: 88.78 kB / 0.4937 GB, free: 6.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1404, allocations: 0 / 0.4937 GB, free: 6.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004698/0.1409, allocations: 121.6 kB / 0.4938 GB, free: 6.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1409, allocations: 4 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1409, allocations: 0 / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1409, allocations: 0 / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.1411, allocations: 23.98 kB / 0.4939 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1411, allocations: 4.297 kB / 0.4939 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.162e-05/0.1412, allocations: 19.88 kB / 0.4939 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.1413, allocations: 3.938 kB / 0.4939 GB, free: 6.027 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 0.0001718/0.1414, allocations: 129.8 kB / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.1415, allocations: 7.844 kB / 0.494 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004615/0.142, allocations: 142 kB / 0.4942 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.142, allocations: 0 / 0.4942 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.142, allocations: 4 kB / 0.4942 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.142, allocations: 7.938 kB / 0.4942 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009247/0.1429, allocations: 398.5 kB / 0.4946 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.143, allocations: 0 / 0.4946 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.1431, allocations: 19.98 kB / 0.4946 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1431, allocations: 0 / 0.4946 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1431, allocations: 3.938 kB / 0.4946 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1431, allocations: 4 kB / 0.4946 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1431, allocations: 0 / 0.4946 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004438/0.1436, allocations: 223.3 kB / 0.4948 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.1437, allocations: 89 kB / 0.4949 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.1437, allocations: 3.938 kB / 0.4949 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.1438, allocations: 12 kB / 0.4949 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.1439, allocations: 7.984 kB / 0.4949 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.1439, allocations: 4 kB / 0.4949 GB, free: 4.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.144, allocations: 103.3 kB / 0.495 GB, free: 4.781 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.144, allocations: 0 / 0.495 GB, free: 4.781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004483/0.1445, allocations: 27.98 kB / 0.495 GB, free: 4.754 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.0016/0.1461, allocations: 453.1 kB / 0.4955 GB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004531/0.1466, allocations: 99.84 kB / 0.4956 GB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1466, allocations: 0 / 0.4956 GB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.1468, allocations: 43.97 kB / 0.4956 GB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.1473, allocations: 23.98 kB / 0.4956 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007425/0.148, allocations: 204.5 kB / 0.4958 GB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009168/0.149, allocations: 0.7002 MB / 0.4965 GB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.758e-05/0.1491, allocations: 19.38 kB / 0.4965 GB, free: 3.207 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1491, allocations: 0 / 0.4965 GB, free: 3.207 MB / 382.1 MB Notification: Performance of Templates: time 0.005963/0.155, allocations: 1.797 MB / 0.4983 GB, free: 1.414 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches