Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 194.6 kB / 16.79 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 226.5 MB / 244.1 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000754/0.0007542, allocations: 104 kB / 296.1 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2789/0.2789, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002502/0.0002502, allocations: 8 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2835, allocations: 62.95 MB / 0.5165 GB, free: 37.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1034/0.3869, allocations: 89.38 MB / 0.6038 GB, free: 15.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.3873, allocations: 79.94 kB / 0.6038 GB, free: 15.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01179/0.3991, allocations: 4.622 MB / 0.6083 GB, free: 11.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.3991, allocations: 0 / 0.6083 GB, free: 11.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.3991, allocations: 11.92 kB / 0.6084 GB, free: 11.27 MB / 426.7 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.0004058/0.3995, allocations: 407.5 kB / 0.6087 GB, free: 10.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3996, allocations: 8.031 kB / 0.6088 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.3996, allocations: 12.84 kB / 0.6088 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.3999, allocations: 208.6 kB / 0.609 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.3999, allocations: 4.375 kB / 0.609 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.3999, allocations: 384 / 0.609 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.4, allocations: 49.81 kB / 0.609 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4, allocations: 11.88 kB / 0.609 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.4001, allocations: 0 / 0.609 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.4001, allocations: 0 / 0.609 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.523e-05/0.4002, allocations: 27.98 kB / 0.6091 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.4005, allocations: 288.9 kB / 0.6093 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.4007, allocations: 46.5 kB / 0.6094 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.4008, allocations: 28.94 kB / 0.6094 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.4008, allocations: 0 / 0.6094 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.4008, allocations: 30.56 kB / 0.6094 GB, free: 10 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.4008, allocations: 0 / 0.6094 GB, free: 10 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005213/0.4014, allocations: 173.2 kB / 0.6096 GB, free: 9.828 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.4014, allocations: 51.41 kB / 0.6096 GB, free: 9.766 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.4016, allocations: 171.2 kB / 0.6098 GB, free: 9.586 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.4016, allocations: 25.7 kB / 0.6098 GB, free: 9.555 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.4016, allocations: 108 kB / 0.6099 GB, free: 9.445 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.4017, allocations: 15.81 kB / 0.61 GB, free: 9.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.4017, allocations: 0 / 0.61 GB, free: 9.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.343e-05/0.4018, allocations: 326.8 kB / 0.6103 GB, free: 9.102 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.821e-05/0.4018, allocations: 23.98 kB / 0.6103 GB, free: 9.078 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.104e-05/0.4019, allocations: 27.97 kB / 0.6103 GB, free: 9.051 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.402, allocations: 60.83 kB / 0.6104 GB, free: 8.988 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.4021, allocations: 0 / 0.6104 GB, free: 8.988 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001791/0.4022, allocations: 97.7 kB / 0.6105 GB, free: 8.887 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.4023, allocations: 12 kB / 0.6105 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4023, allocations: 3.984 kB / 0.6105 GB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.4023, allocations: 0 / 0.6105 GB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.181e-05/0.4024, allocations: 12 kB / 0.6105 GB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.4024, allocations: 0 / 0.6105 GB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.184e-05/0.4024, allocations: 7.984 kB / 0.6105 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.4024, allocations: 4 kB / 0.6105 GB, free: 8.848 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.994e-05/0.4025, allocations: 125.7 kB / 0.6106 GB, free: 8.715 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.4026, allocations: 15.84 kB / 0.6106 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.4028, allocations: 106.2 kB / 0.6107 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4028, allocations: 0 / 0.6107 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.4028, allocations: 3.984 kB / 0.6107 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.4028, allocations: 7.938 kB / 0.6108 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.4032, allocations: 379.6 kB / 0.6111 GB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4032, allocations: 0 / 0.6111 GB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.4033, allocations: 15.94 kB / 0.6111 GB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4033, allocations: 0 / 0.6111 GB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.4033, allocations: 7.984 kB / 0.6111 GB, free: 8.129 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.4033, allocations: 11.92 kB / 0.6111 GB, free: 8.117 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4033, allocations: 0 / 0.6111 GB, free: 8.117 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.4036, allocations: 187.3 kB / 0.6113 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.4036, allocations: 97 kB / 0.6114 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.4036, allocations: 256 / 0.6114 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.4037, allocations: 15.92 kB / 0.6114 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.4038, allocations: 8 kB / 0.6114 GB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.4038, allocations: 0 / 0.6114 GB, free: 7.781 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.331e-05/0.4039, allocations: 127.2 kB / 0.6116 GB, free: 7.656 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4039, allocations: 4 kB / 0.6116 GB, free: 7.652 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002272/0.4041, allocations: 15.98 kB / 0.6116 GB, free: 7.637 MB / 426.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 () * 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 (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.0007901/0.4049, allocations: 411.3 kB / 0.612 GB, free: 7.375 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.4051, allocations: 51.97 kB / 0.612 GB, free: 7.324 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4051, allocations: 4 kB / 0.612 GB, free: 7.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.706e-05/0.4052, allocations: 31.98 kB / 0.6121 GB, free: 7.289 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.4055, allocations: 11.98 kB / 0.6121 GB, free: 7.277 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.4059, allocations: 250.7 kB / 0.6123 GB, free: 7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.4061, allocations: 0.6968 MB / 0.613 GB, free: 6.277 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.4061, allocations: 15.42 kB / 0.613 GB, free: 6.262 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4062, allocations: 0 / 0.613 GB, free: 6.262 MB / 426.7 MB Notification: Performance of Templates: time 0.002699/0.4089, allocations: 1.521 MB / 0.6145 GB, free: 4.742 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches