Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001458, allocations: 190 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 226.5 MB / 244.1 MB, free: 6.418 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007877/0.0007877, allocations: 92.41 kB / 296.1 MB, free: 6.707 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.304/0.304, allocations: 44.82 MB / 393 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002884/0.0002884, allocations: 8 kB / 465.9 MB, free: 12.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2877, allocations: 62.97 MB / 0.5165 GB, free: 37.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.3916, allocations: 89.6 MB / 0.604 GB, free: 15.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.3919, allocations: 71.97 kB / 0.604 GB, free: 15.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01374/0.4057, allocations: 5.559 MB / 0.6095 GB, free: 10.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4057, allocations: 4 kB / 0.6095 GB, free: 10.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.043e-05/0.4057, allocations: 4 kB / 0.6095 GB, free: 10.2 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004858/0.4062, allocations: 451.2 kB / 0.6099 GB, free: 9.707 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.4063, allocations: 8.031 kB / 0.6099 GB, free: 9.699 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.4063, allocations: 16.75 kB / 0.6099 GB, free: 9.684 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.4066, allocations: 230.3 kB / 0.6102 GB, free: 9.422 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.4066, allocations: 384 / 0.6102 GB, free: 9.422 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.4066, allocations: 8.375 kB / 0.6102 GB, free: 9.414 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.4068, allocations: 78.22 kB / 0.6102 GB, free: 9.332 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4068, allocations: 192 / 0.6102 GB, free: 9.332 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.4068, allocations: 7.938 kB / 0.6102 GB, free: 9.324 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4068, allocations: 3.938 kB / 0.6102 GB, free: 9.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.4069, allocations: 47.91 kB / 0.6103 GB, free: 9.273 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.4074, allocations: 356.7 kB / 0.6106 GB, free: 8.875 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.4075, allocations: 66.5 kB / 0.6107 GB, free: 8.801 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.724e-05/0.4076, allocations: 26.03 kB / 0.6107 GB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.4077, allocations: 7.984 kB / 0.6107 GB, free: 8.766 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.4077, allocations: 42.48 kB / 0.6108 GB, free: 8.715 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.4077, allocations: 0 / 0.6108 GB, free: 8.715 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.001015/0.4087, allocations: 353 kB / 0.6111 GB, free: 8.363 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.4088, allocations: 63.34 kB / 0.6112 GB, free: 8.289 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.409, allocations: 232.3 kB / 0.6114 GB, free: 8.047 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.409, allocations: 33.64 kB / 0.6114 GB, free: 8.008 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.4091, allocations: 112 kB / 0.6115 GB, free: 7.895 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.4092, allocations: 43.45 kB / 0.6116 GB, free: 7.852 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/0.4092, allocations: 0 / 0.6116 GB, free: 7.852 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4093, allocations: 326.8 kB / 0.6119 GB, free: 7.523 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.4094, allocations: 51.97 kB / 0.6119 GB, free: 7.473 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.263e-05/0.4095, allocations: 51.22 kB / 0.612 GB, free: 7.426 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.4097, allocations: 112.8 kB / 0.6121 GB, free: 7.312 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4097, allocations: 0 / 0.6121 GB, free: 7.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002746/0.41, allocations: 165.6 kB / 0.6122 GB, free: 7.145 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.41, allocations: 8 kB / 0.6122 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.41, allocations: 0 / 0.6122 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.41, allocations: 0 / 0.6122 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.4102, allocations: 31.92 kB / 0.6123 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.4102, allocations: 4.641 kB / 0.6123 GB, free: 7.102 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.4102, allocations: 8 kB / 0.6123 GB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.4103, allocations: 11.98 kB / 0.6123 GB, free: 7.082 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 (13): * Single equations (assignments): 13 * 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 9.467e-05/0.4104, allocations: 137.8 kB / 0.6124 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.4104, allocations: 11.81 kB / 0.6124 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003498/0.4108, allocations: 199.1 kB / 0.6126 GB, free: 6.727 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4108, allocations: 0 / 0.6126 GB, free: 6.727 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4108, allocations: 3.938 kB / 0.6126 GB, free: 6.723 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4108, allocations: 0 / 0.6126 GB, free: 6.723 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000665/0.4115, allocations: 0.5225 MB / 0.6131 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.4115, allocations: 0 / 0.6131 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.049e-05/0.4116, allocations: 31.92 kB / 0.6132 GB, free: 6.109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4116, allocations: 3.984 kB / 0.6132 GB, free: 6.105 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.4116, allocations: 4 kB / 0.6132 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4116, allocations: 4 kB / 0.6132 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4116, allocations: 4.031 kB / 0.6132 GB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.4119, allocations: 263.5 kB / 0.6134 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.939e-05/0.412, allocations: 96.91 kB / 0.6135 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.412, allocations: 12 kB / 0.6136 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.4121, allocations: 4 kB / 0.6136 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.4122, allocations: 11.98 kB / 0.6136 GB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.4122, allocations: 0 / 0.6136 GB, free: 5.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001627/0.4124, allocations: 185.1 kB / 0.6137 GB, free: 5.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4124, allocations: 3.938 kB / 0.6137 GB, free: 5.496 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002588/0.4126, allocations: 39.92 kB / 0.6138 GB, free: 5.457 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0009005/0.4135, allocations: 455.1 kB / 0.6142 GB, free: 5.168 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.4138, allocations: 127.9 kB / 0.6143 GB, free: 5.043 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4138, allocations: 0 / 0.6143 GB, free: 5.043 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.414, allocations: 63.91 kB / 0.6144 GB, free: 4.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.4143, allocations: 33.72 kB / 0.6144 GB, free: 4.953 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.4149, allocations: 393.3 kB / 0.6148 GB, free: 4.535 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.4151, allocations: 0.7278 MB / 0.6155 GB, free: 3.781 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.4152, allocations: 23.38 kB / 0.6155 GB, free: 3.758 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4152, allocations: 0 / 0.6155 GB, free: 3.758 MB / 426.7 MB Notification: Performance of Templates: time 0.003579/0.4188, allocations: 2.224 MB / 0.6177 GB, free: 1.535 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches