Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 119.4 kB / 17.09 MB, free: 6.008 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.001397/0.001397, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.39/1.39, allocations: 205.1 MB / 223.9 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.2312/0.2312, allocations: 43.52 MB / 314.8 MB, free: 452 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.001449/0.001449, allocations: 67.91 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1347, allocations: 57.8 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003706/0.1385, allocations: 1.609 MB / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1402, allocations: 0.9691 MB / 0.4911 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1403, allocations: 4 kB / 0.4911 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.1406, allocations: 19.86 kB / 0.4911 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.1409, allocations: 43.78 kB / 0.4911 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.1414, allocations: 151.7 kB / 0.4913 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.1416, allocations: 71.77 kB / 0.4913 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1418, allocations: 15.98 kB / 0.4914 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.751e-05/0.1419, allocations: 31.91 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.1421, allocations: 27.84 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.1421, allocations: 4 kB / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.1423, allocations: 63.91 kB / 0.4915 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.516e-05/0.1423, allocations: 15.92 kB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.1424, allocations: 27.81 kB / 0.4915 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.1427, allocations: 95.75 kB / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.1427, allocations: 0 / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.1427, allocations: 0 / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.699e-06/0.1427, allocations: 0 / 0.4916 GB, free: 8.617 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.0006244/0.1433, allocations: 391.2 kB / 0.492 GB, free: 8.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1434, allocations: 15.89 kB / 0.492 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.1435, allocations: 12.84 kB / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.1437, allocations: 184.2 kB / 0.4922 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1437, allocations: 4.312 kB / 0.4922 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.1438, allocations: 4.375 kB / 0.4922 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.144, allocations: 79.5 kB / 0.4923 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.144, allocations: 4 kB / 0.4923 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.144, allocations: 0 / 0.4923 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.144, allocations: 0 / 0.4923 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.1442, allocations: 39.97 kB / 0.4923 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/0.1448, allocations: 308.6 kB / 0.4926 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.1449, allocations: 50.55 kB / 0.4927 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.145, allocations: 28.94 kB / 0.4927 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.1451, allocations: 0 / 0.4927 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.1451, allocations: 38.56 kB / 0.4927 GB, free: 7.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1451, allocations: 0 / 0.4927 GB, free: 7.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008667/0.146, allocations: 213.3 kB / 0.4929 GB, free: 7.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.146, allocations: 81.05 kB / 0.493 GB, free: 7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.1462, allocations: 141.6 kB / 0.4931 GB, free: 6.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1462, allocations: 33.64 kB / 0.4932 GB, free: 6.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.1463, allocations: 92.05 kB / 0.4933 GB, free: 6.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.1463, allocations: 19.7 kB / 0.4933 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.1464, allocations: 21.72 kB / 0.4933 GB, free: 6.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.1466, allocations: 326.8 kB / 0.4936 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.1467, allocations: 48.03 kB / 0.4937 GB, free: 6.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.1469, allocations: 57.73 kB / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.1471, allocations: 80.8 kB / 0.4938 GB, free: 6.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1471, allocations: 4.031 kB / 0.4938 GB, free: 6.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002989/0.1474, allocations: 125.5 kB / 0.4939 GB, free: 6.023 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.1475, allocations: 4 kB / 0.4939 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1475, allocations: 0 / 0.4939 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1475, allocations: 0 / 0.4939 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1476, allocations: 23.97 kB / 0.4939 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1477, allocations: 0 / 0.4939 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.1477, allocations: 19.88 kB / 0.494 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1477, allocations: 0 / 0.494 GB, free: 5.977 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.0001047/0.1479, allocations: 125.8 kB / 0.4941 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.1479, allocations: 8.188 kB / 0.4941 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.1483, allocations: 133.9 kB / 0.4942 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1483, allocations: 11.92 kB / 0.4942 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1483, allocations: 4 kB / 0.4942 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.1483, allocations: 3.938 kB / 0.4942 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006088/0.1489, allocations: 398.5 kB / 0.4946 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1489, allocations: 0 / 0.4946 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.031e-05/0.149, allocations: 23.92 kB / 0.4946 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.149, allocations: 0 / 0.4946 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1491, allocations: 11.94 kB / 0.4946 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1491, allocations: 4 kB / 0.4947 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1491, allocations: 3.984 kB / 0.4947 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.1494, allocations: 215.8 kB / 0.4949 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.1495, allocations: 85 kB / 0.4949 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.1495, allocations: 3.938 kB / 0.4949 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.507e-05/0.1496, allocations: 12 kB / 0.495 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.1497, allocations: 7.984 kB / 0.495 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1497, allocations: 4 kB / 0.495 GB, free: 4.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.973e-05/0.1498, allocations: 107.2 kB / 0.4951 GB, free: 4.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1498, allocations: 0 / 0.4951 GB, free: 4.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.1501, allocations: 20 kB / 0.4951 GB, free: 4.707 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.001078/0.1512, allocations: 459.9 kB / 0.4955 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003367/0.1515, allocations: 91.91 kB / 0.4956 GB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1515, allocations: 0 / 0.4956 GB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.1517, allocations: 51.91 kB / 0.4957 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.1521, allocations: 23.78 kB / 0.4957 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005106/0.1526, allocations: 208.2 kB / 0.4959 GB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.1529, allocations: 0.6963 MB / 0.4966 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.153, allocations: 11.44 kB / 0.4966 GB, free: 3.16 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.153, allocations: 0 / 0.4966 GB, free: 3.16 MB / 382.1 MB Notification: Performance of Templates: time 0.004618/0.1576, allocations: 1.813 MB / 0.4984 GB, free: 1.352 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches