Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001314, allocations: 103.7 kB / 16.41 MB, free: 6.445 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.001509/0.001509, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.582/1.582, allocations: 205.1 MB / 223.2 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.2062/0.2062, allocations: 43.53 MB / 314.1 MB, free: 448 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.001528/0.001528, allocations: 69.47 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1019, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002842/0.1047, allocations: 1.554 MB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006312/0.1054, allocations: 319.5 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.683e-05/0.1055, allocations: 4 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.1058, allocations: 107.7 kB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.106, allocations: 75.78 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.1062, allocations: 71.78 kB / 0.49 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1064, allocations: 75.81 kB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1065, allocations: 19.97 kB / 0.4901 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.359e-05/0.1066, allocations: 35.84 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1067, allocations: 63.81 kB / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1067, allocations: 4 kB / 0.4902 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.623e-05/0.1068, allocations: 35.97 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.437e-05/0.1069, allocations: 19.92 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.1069, allocations: 31.69 kB / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.1071, allocations: 99.7 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1071, allocations: 0 / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1071, allocations: 4 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.1071, allocations: 0 / 0.4903 GB, free: 9.27 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004375/0.1075, allocations: 410.2 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1076, allocations: 15.89 kB / 0.4907 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.1076, allocations: 8.844 kB / 0.4907 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.1078, allocations: 204 kB / 0.4909 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1079, allocations: 4.375 kB / 0.4909 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1079, allocations: 4.375 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.108, allocations: 49.81 kB / 0.491 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1081, allocations: 3.984 kB / 0.491 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1081, allocations: 0 / 0.491 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.1081, allocations: 7.984 kB / 0.491 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.604e-05/0.1082, allocations: 23.92 kB / 0.491 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.1087, allocations: 284.9 kB / 0.4913 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.1089, allocations: 42.56 kB / 0.4913 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.109, allocations: 16.94 kB / 0.4914 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.109, allocations: 4 kB / 0.4914 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.109, allocations: 34.5 kB / 0.4914 GB, free: 8.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.109, allocations: 0 / 0.4914 GB, free: 8.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006254/0.1097, allocations: 145.2 kB / 0.4915 GB, free: 7.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.1097, allocations: 59.34 kB / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.11, allocations: 246.5 kB / 0.4918 GB, free: 7.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.11, allocations: 25.7 kB / 0.4919 GB, free: 7.516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.1101, allocations: 104.1 kB / 0.492 GB, free: 7.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.1102, allocations: 19.8 kB / 0.492 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.1102, allocations: 17.72 kB / 0.492 GB, free: 7.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1103, allocations: 326.8 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.942e-05/0.1104, allocations: 19.98 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.426e-05/0.1105, allocations: 24.05 kB / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.1106, allocations: 44.83 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1106, allocations: 0 / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001942/0.1108, allocations: 77.58 kB / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1109, allocations: 11.88 kB / 0.4925 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.1109, allocations: 4 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.1109, allocations: 0 / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.951e-05/0.111, allocations: 15.98 kB / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.111, allocations: 0 / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.1111, allocations: 11.91 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1111, allocations: 0 / 0.4925 GB, free: 6.824 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 (5): * Single equations (assignments): 5 * 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.0001216/0.1112, allocations: 137.6 kB / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.1113, allocations: 11.91 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.1115, allocations: 102.6 kB / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1115, allocations: 3.938 kB / 0.4927 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1115, allocations: 0 / 0.4927 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1115, allocations: 4 kB / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.112, allocations: 350.5 kB / 0.4931 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.112, allocations: 320 / 0.4931 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.608e-05/0.1121, allocations: 16 kB / 0.4931 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1121, allocations: 4 kB / 0.4931 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.1121, allocations: 0 / 0.4931 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.1121, allocations: 7.922 kB / 0.4931 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1121, allocations: 0 / 0.4931 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.1124, allocations: 183.3 kB / 0.4933 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.1124, allocations: 81.02 kB / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.1125, allocations: 4 kB / 0.4934 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.391e-05/0.1125, allocations: 15.92 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.1126, allocations: 4 kB / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.1126, allocations: 0 / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.1127, allocations: 183.2 kB / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1127, allocations: 4 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.113, allocations: 12 kB / 0.4936 GB, free: 5.613 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 (5): * Single equations (assignments): 5 * 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.0008536/0.1138, allocations: 411.2 kB / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.114, allocations: 51.91 kB / 0.494 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.114, allocations: 0 / 0.494 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.859e-05/0.1141, allocations: 23.98 kB / 0.494 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.1145, allocations: 27.83 kB / 0.4941 GB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005166/0.115, allocations: 246.2 kB / 0.4943 GB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.1154, allocations: 0.7158 MB / 0.495 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.783e-05/0.1155, allocations: 4 kB / 0.495 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.1155, allocations: 11.44 kB / 0.495 GB, free: 4.121 MB / 382.1 MB Notification: Performance of SimCode: time 2.104e-06/0.1155, allocations: 0 / 0.495 GB, free: 4.121 MB / 382.1 MB Notification: Performance of Templates: time 0.003659/0.1192, allocations: 1.136 MB / 0.4961 GB, free: 2.984 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches