Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 105.1 kB / 16.41 MB, free: 6.504 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.001098/0.001098, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.337/1.337, allocations: 205.1 MB / 223.2 MB, free: 12.28 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.2062/0.2062, allocations: 43.51 MB / 314.1 MB, free: 464 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.001347/0.001347, allocations: 69.45 kB / 441.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.121, allocations: 57.78 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002873/0.1239, allocations: 1.573 MB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006471/0.1246, allocations: 323.4 kB / 0.4897 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.224e-05/0.1247, allocations: 4 kB / 0.4897 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.1249, allocations: 27.83 kB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.1251, allocations: 47.78 kB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.1254, allocations: 71.83 kB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.1255, allocations: 71.77 kB / 0.4899 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1257, allocations: 20.17 kB / 0.49 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.427e-05/0.1257, allocations: 27.91 kB / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.471e-05/0.1258, allocations: 31.84 kB / 0.49 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1258, allocations: 0 / 0.49 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.803e-05/0.1259, allocations: 32 kB / 0.4901 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.564e-05/0.126, allocations: 19.92 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.126, allocations: 23.8 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.1262, allocations: 91.72 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1262, allocations: 0 / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1262, allocations: 0 / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1262, allocations: 0 / 0.4902 GB, free: 9.406 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005172/0.1268, allocations: 383.1 kB / 0.4905 GB, free: 8.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1268, allocations: 11.89 kB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.1269, allocations: 8.844 kB / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.1271, allocations: 202.8 kB / 0.4908 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1271, allocations: 4.375 kB / 0.4908 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.1271, allocations: 12.31 kB / 0.4908 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.1273, allocations: 61.59 kB / 0.4908 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.1273, allocations: 0 / 0.4908 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1273, allocations: 4 kB / 0.4908 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1273, allocations: 0 / 0.4908 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.1275, allocations: 35.95 kB / 0.4909 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.1279, allocations: 292.7 kB / 0.4912 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.128, allocations: 54.5 kB / 0.4912 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/0.1281, allocations: 20.97 kB / 0.4912 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1281, allocations: 0 / 0.4912 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.1281, allocations: 34.56 kB / 0.4913 GB, free: 8.145 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1281, allocations: 0 / 0.4913 GB, free: 8.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006286/0.1288, allocations: 185.3 kB / 0.4914 GB, free: 7.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.1288, allocations: 55.41 kB / 0.4915 GB, free: 7.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.129, allocations: 153.8 kB / 0.4916 GB, free: 7.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.129, allocations: 25.7 kB / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.1291, allocations: 96.12 kB / 0.4918 GB, free: 7.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.1291, allocations: 27.56 kB / 0.4918 GB, free: 7.574 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.1291, allocations: 21.7 kB / 0.4918 GB, free: 7.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1293, allocations: 330.8 kB / 0.4921 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.241e-05/0.1293, allocations: 19.98 kB / 0.4921 GB, free: 7.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.024e-05/0.1294, allocations: 31.92 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.1296, allocations: 56.83 kB / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1296, allocations: 4 kB / 0.4922 GB, free: 7.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001943/0.1298, allocations: 97.56 kB / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1298, allocations: 4 kB / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1298, allocations: 0 / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1298, allocations: 0 / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.1299, allocations: 19.98 kB / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.13, allocations: 7.875 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.13, allocations: 11.92 kB / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.13, allocations: 4 kB / 0.4924 GB, free: 6.953 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 (8): * Single equations (assignments): 8 * 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 9.344e-05/0.1301, allocations: 121.8 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.1301, allocations: 11.91 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.1304, allocations: 110.4 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1304, allocations: 0 / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1304, allocations: 3.938 kB / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.1305, allocations: 0 / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.1309, allocations: 382.8 kB / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1309, allocations: 4 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.49e-05/0.131, allocations: 19.98 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.131, allocations: 3.938 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.131, allocations: 4 kB / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.131, allocations: 80 / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.131, allocations: 12.34 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.1313, allocations: 187.4 kB / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.1313, allocations: 96.94 kB / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.1314, allocations: 0 / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.572e-05/0.1314, allocations: 8 kB / 0.4933 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.1315, allocations: 11.98 kB / 0.4933 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.1315, allocations: 0 / 0.4933 GB, free: 5.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.912e-05/0.1316, allocations: 116.8 kB / 0.4934 GB, free: 5.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1316, allocations: 4 kB / 0.4934 GB, free: 5.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.1318, allocations: 20 kB / 0.4934 GB, free: 5.75 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 (8): * Single equations (assignments): 8 * 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.0009263/0.1328, allocations: 404.4 kB / 0.4938 GB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.133, allocations: 59.91 kB / 0.4939 GB, free: 5.332 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.133, allocations: 0 / 0.4939 GB, free: 5.332 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.9e-05/0.1331, allocations: 39.97 kB / 0.4939 GB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.1334, allocations: 11.86 kB / 0.4939 GB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000433/0.1339, allocations: 205.8 kB / 0.4941 GB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.1342, allocations: 0.7002 MB / 0.4948 GB, free: 4.328 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.192e-05/0.1342, allocations: 16.97 kB / 0.4948 GB, free: 4.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.1343, allocations: 11.44 kB / 0.4948 GB, free: 4.301 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1343, allocations: 0 / 0.4948 GB, free: 4.301 MB / 382.1 MB Notification: Performance of Templates: time 0.003729/0.138, allocations: 1.187 MB / 0.496 GB, free: 3.113 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches