Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002235/0.002235, allocations: 181.1 kB / 13.66 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2815/0.2815, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.013e-05/3.022e-05, allocations: 7.984 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.475/0.5871, allocations: 87.13 MB / 0.5579 GB, free: 492 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.5874, allocations: 79.73 kB / 0.558 GB, free: 452 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03048/0.6179, allocations: 8.145 MB / 0.5659 GB, free: 9.168 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6179, allocations: 0 / 0.5659 GB, free: 9.168 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.037e-05/0.618, allocations: 4 kB / 0.5659 GB, free: 9.164 MB / 378.7 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.0007839/0.6188, allocations: 0.5604 MB / 0.5665 GB, free: 8.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.6188, allocations: 8.031 kB / 0.5665 GB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.619, allocations: 43.48 kB / 0.5665 GB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006872/0.6197, allocations: 329.4 kB / 0.5668 GB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.6197, allocations: 0 / 0.5668 GB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.6197, allocations: 11.92 kB / 0.5668 GB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.6199, allocations: 48.44 kB / 0.5669 GB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.6199, allocations: 0 / 0.5669 GB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.62, allocations: 6.938 kB / 0.5669 GB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.62, allocations: 0 / 0.5669 GB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.517e-05/0.6201, allocations: 31.39 kB / 0.5669 GB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009602/0.6211, allocations: 457.3 kB / 0.5674 GB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.6212, allocations: 36.31 kB / 0.5674 GB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.507e-05/0.6213, allocations: 27.36 kB / 0.5674 GB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.6213, allocations: 0 / 0.5674 GB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.6214, allocations: 38.45 kB / 0.5675 GB, free: 7.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.903e-06/0.6214, allocations: 0 / 0.5675 GB, free: 7.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008481/0.6223, allocations: 230.8 kB / 0.5677 GB, free: 7.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.6223, allocations: 58.41 kB / 0.5677 GB, free: 7.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.6242, allocations: 0.7839 MB / 0.5685 GB, free: 6.652 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.6243, allocations: 29.2 kB / 0.5685 GB, free: 6.621 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.6244, allocations: 227.7 kB / 0.5687 GB, free: 6.469 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.6245, allocations: 23.39 kB / 0.5688 GB, free: 6.449 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/0.6245, allocations: 0 / 0.5688 GB, free: 6.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.6247, allocations: 314.8 kB / 0.5691 GB, free: 6.133 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.228e-05/0.6247, allocations: 23.3 kB / 0.5691 GB, free: 6.117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.627e-05/0.6248, allocations: 19.31 kB / 0.5691 GB, free: 6.105 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.935e-05/0.6249, allocations: 27.36 kB / 0.5691 GB, free: 6.086 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6249, allocations: 0 / 0.5691 GB, free: 6.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000233/0.6252, allocations: 88.27 kB / 0.5692 GB, free: 6.008 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.6252, allocations: 11.94 kB / 0.5692 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.6252, allocations: 0 / 0.5692 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.6252, allocations: 0 / 0.5692 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.6255, allocations: 31.55 kB / 0.5693 GB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.6255, allocations: 0 / 0.5693 GB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.6257, allocations: 19.92 kB / 0.5693 GB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.6258, allocations: 4 kB / 0.5693 GB, free: 5.945 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.312e-05/0.6259, allocations: 104.5 kB / 0.5694 GB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.626, allocations: 43.44 kB / 0.5694 GB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004047/0.6264, allocations: 151 kB / 0.5696 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6264, allocations: 0 / 0.5696 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.6264, allocations: 0 / 0.5696 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.6265, allocations: 0 / 0.5696 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.6277, allocations: 0.613 MB / 0.5702 GB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.6277, allocations: 3.953 kB / 0.5702 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.6279, allocations: 19.98 kB / 0.5702 GB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.6279, allocations: 4 kB / 0.5702 GB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.6279, allocations: 3.938 kB / 0.5702 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.6279, allocations: 0 / 0.5702 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.628, allocations: 0 / 0.5702 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.6283, allocations: 228.2 kB / 0.5704 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.6286, allocations: 159.6 kB / 0.5706 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.6287, allocations: 0 / 0.5706 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.6289, allocations: 19.61 kB / 0.5706 GB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/0.629, allocations: 7.984 kB / 0.5706 GB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.629, allocations: 0 / 0.5706 GB, free: 4.645 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001142/0.6301, allocations: 0.6378 MB / 0.5712 GB, free: 4.184 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6302, allocations: 0 / 0.5712 GB, free: 4.184 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004473/0.6306, allocations: 59 kB / 0.5713 GB, free: 4.129 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001094/0.6317, allocations: 374.8 kB / 0.5716 GB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.632, allocations: 54.05 kB / 0.5717 GB, free: 3.777 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.632, allocations: 0 / 0.5717 GB, free: 3.777 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.908e-05/0.6321, allocations: 27.5 kB / 0.5717 GB, free: 3.758 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.6325, allocations: 32.48 kB / 0.5717 GB, free: 3.746 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.6344, allocations: 0.7892 MB / 0.5725 GB, free: 3.008 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.6349, allocations: 0.8411 MB / 0.5733 GB, free: 2.156 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.6351, allocations: 22.81 kB / 0.5733 GB, free: 2.137 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.6351, allocations: 0 / 0.5733 GB, free: 2.137 MB / 378.7 MB Notification: Performance of Templates: time 0.01228/0.6474, allocations: 4.428 MB / 0.5777 GB, free: 13.71 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches