Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.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.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") translateModel(ModelicaTest.Tables.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 108.9 kB / 16.41 MB, free: 6.512 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.001408/0.001408, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.735/1.735, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2283/0.2283, allocations: 43.52 MB / 314.1 MB, free: 456 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.001245/0.001245, allocations: 69.47 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1338, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.003153/0.137, allocations: 1.577 MB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006342/0.1377, allocations: 327.5 kB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.1377, allocations: 4 kB / 0.4897 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003286/0.1381, allocations: 91.75 kB / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.1383, allocations: 79.72 kB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.1386, allocations: 87.81 kB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.1387, allocations: 83.75 kB / 0.4901 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1389, allocations: 28.09 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.177e-05/0.1389, allocations: 35.89 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.139, allocations: 59.81 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.1391, allocations: 4 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.697e-05/0.1391, allocations: 35.98 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.1392, allocations: 19.92 kB / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.1393, allocations: 35.75 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.1395, allocations: 111.4 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1395, allocations: 0 / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1395, allocations: 0 / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1395, allocations: 0 / 0.4904 GB, free: 9.215 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005421/0.14, allocations: 418.7 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1401, allocations: 11.89 kB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.1401, allocations: 20.84 kB / 0.4908 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.1403, allocations: 200.2 kB / 0.491 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1403, allocations: 384 / 0.491 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.1404, allocations: 4.375 kB / 0.491 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.1405, allocations: 87.25 kB / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1406, allocations: 0 / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1406, allocations: 0 / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1406, allocations: 0 / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1407, allocations: 39.97 kB / 0.4911 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.1412, allocations: 404.9 kB / 0.4915 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.1415, allocations: 89.12 kB / 0.4916 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.986e-05/0.1416, allocations: 37.8 kB / 0.4916 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.1416, allocations: 4 kB / 0.4916 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.1417, allocations: 30.56 kB / 0.4917 GB, free: 7.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1417, allocations: 0 / 0.4917 GB, free: 7.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007168/0.1424, allocations: 245.1 kB / 0.4919 GB, free: 7.465 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.1424, allocations: 77.11 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.1427, allocations: 239.5 kB / 0.4922 GB, free: 7.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.1427, allocations: 29.7 kB / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.88e-05/0.1428, allocations: 112 kB / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.1428, allocations: 35.73 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.1429, allocations: 25.7 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.143, allocations: 326.8 kB / 0.4927 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.208e-05/0.1431, allocations: 31.92 kB / 0.4927 GB, free: 6.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.74e-05/0.1432, allocations: 49.62 kB / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.1434, allocations: 85.67 kB / 0.4929 GB, free: 6.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1434, allocations: 4 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002351/0.1436, allocations: 125.5 kB / 0.493 GB, free: 6.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1436, allocations: 7.984 kB / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1436, allocations: 0 / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1437, allocations: 4 kB / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.117e-05/0.1437, allocations: 19.98 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1438, allocations: 3.938 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.1438, allocations: 11.94 kB / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1438, allocations: 7.984 kB / 0.4931 GB, free: 6.223 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001121/0.1439, allocations: 141.7 kB / 0.4932 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.144, allocations: 15.91 kB / 0.4932 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.1443, allocations: 146.8 kB / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1443, allocations: 4 kB / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1443, allocations: 3.938 kB / 0.4934 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1443, allocations: 3.984 kB / 0.4934 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00071/0.1451, allocations: 0.4947 MB / 0.4938 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1451, allocations: 0 / 0.4938 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.506e-05/0.1452, allocations: 31.86 kB / 0.4939 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1452, allocations: 0 / 0.4939 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1452, allocations: 3.984 kB / 0.4939 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1452, allocations: 4 kB / 0.4939 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1452, allocations: 0 / 0.4939 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.1456, allocations: 299.6 kB / 0.4942 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.1456, allocations: 93.55 kB / 0.4943 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.1457, allocations: 4 kB / 0.4943 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1458, allocations: 8 kB / 0.4943 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.1458, allocations: 7.984 kB / 0.4943 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.1458, allocations: 8.281 kB / 0.4943 GB, free: 4.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002116/0.146, allocations: 167.2 kB / 0.4944 GB, free: 4.688 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.146, allocations: 0 / 0.4944 GB, free: 4.688 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.1463, allocations: 31.86 kB / 0.4945 GB, free: 4.656 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0009075/0.1473, allocations: 412.8 kB / 0.4949 GB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.1475, allocations: 79.89 kB / 0.4949 GB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1475, allocations: 4 kB / 0.4949 GB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.1476, allocations: 47.91 kB / 0.495 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.0004414/0.1481, allocations: 27.78 kB / 0.495 GB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.1486, allocations: 295.9 kB / 0.4953 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.149, allocations: 0.7197 MB / 0.496 GB, free: 3.059 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.1491, allocations: 20.42 kB / 0.496 GB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.1492, allocations: 15.42 kB / 0.496 GB, free: 3.023 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1492, allocations: 0 / 0.496 GB, free: 3.023 MB / 382.1 MB Notification: Performance of Templates: time 0.003922/0.1531, allocations: 1.315 MB / 0.4973 GB, free: 1.707 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches