Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001334, allocations: 197.7 kB / 16.79 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.3/1.3, allocations: 226.5 MB / 244.1 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007363/0.0007361, allocations: 99.23 kB / 296.1 MB, free: 6.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2948/0.2948, allocations: 44.82 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002553/0.0002553, allocations: 8 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2769, allocations: 62.95 MB / 0.5165 GB, free: 37.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.113/0.3899, allocations: 89.61 MB / 0.604 GB, free: 15.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.3903, allocations: 75.95 kB / 0.6041 GB, free: 15.72 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01456/0.4048, allocations: 5.563 MB / 0.6095 GB, free: 10.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4049, allocations: 0 / 0.6095 GB, free: 10.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.4049, allocations: 4 kB / 0.6095 GB, free: 10.15 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.0005405/0.4054, allocations: 455.2 kB / 0.6099 GB, free: 9.656 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.4055, allocations: 8.031 kB / 0.6099 GB, free: 9.648 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.4055, allocations: 20.75 kB / 0.6099 GB, free: 9.629 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.4058, allocations: 230.3 kB / 0.6102 GB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.4058, allocations: 384 / 0.6102 GB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.4059, allocations: 8.375 kB / 0.6102 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.406, allocations: 77.84 kB / 0.6103 GB, free: 9.281 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.406, allocations: 192 / 0.6103 GB, free: 9.281 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.4061, allocations: 7.922 kB / 0.6103 GB, free: 9.273 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.4061, allocations: 8 kB / 0.6103 GB, free: 9.266 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.4062, allocations: 51.84 kB / 0.6103 GB, free: 9.215 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.4067, allocations: 352.7 kB / 0.6107 GB, free: 8.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.4068, allocations: 74.48 kB / 0.6107 GB, free: 8.738 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.4069, allocations: 26.03 kB / 0.6107 GB, free: 8.711 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.4069, allocations: 8.141 kB / 0.6108 GB, free: 8.703 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.407, allocations: 34.55 kB / 0.6108 GB, free: 8.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.407, allocations: 0 / 0.6108 GB, free: 8.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.001025/0.408, allocations: 352.8 kB / 0.6111 GB, free: 8.309 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.408, allocations: 59.34 kB / 0.6112 GB, free: 8.238 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.4083, allocations: 228.3 kB / 0.6114 GB, free: 8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.4083, allocations: 33.64 kB / 0.6114 GB, free: 7.961 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.4084, allocations: 116 kB / 0.6115 GB, free: 7.844 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.4084, allocations: 47.44 kB / 0.6116 GB, free: 7.797 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.4084, allocations: 0 / 0.6116 GB, free: 7.797 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4085, allocations: 330.8 kB / 0.6119 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.4087, allocations: 47.97 kB / 0.6119 GB, free: 7.418 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.81e-05/0.4088, allocations: 47.97 kB / 0.612 GB, free: 7.371 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.409, allocations: 112.8 kB / 0.6121 GB, free: 7.258 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.409, allocations: 0 / 0.6121 GB, free: 7.258 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002885/0.4093, allocations: 168.7 kB / 0.6123 GB, free: 7.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.4093, allocations: 8 kB / 0.6123 GB, free: 7.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4093, allocations: 0 / 0.6123 GB, free: 7.082 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.4093, allocations: 0 / 0.6123 GB, free: 7.082 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.4095, allocations: 31.92 kB / 0.6123 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.4095, allocations: 3.938 kB / 0.6123 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.15e-05/0.4095, allocations: 11.98 kB / 0.6123 GB, free: 7.035 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.4096, allocations: 4 kB / 0.6123 GB, free: 7.031 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 0.0001126/0.4097, allocations: 137.8 kB / 0.6125 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.4097, allocations: 15.75 kB / 0.6125 GB, free: 6.871 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003783/0.4101, allocations: 199.7 kB / 0.6127 GB, free: 6.672 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.4101, allocations: 0 / 0.6127 GB, free: 6.672 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4101, allocations: 7.938 kB / 0.6127 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4101, allocations: 0 / 0.6127 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006549/0.4108, allocations: 0.5255 MB / 0.6132 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.4108, allocations: 0 / 0.6132 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.08e-05/0.4109, allocations: 35.92 kB / 0.6132 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4109, allocations: 0 / 0.6132 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.4109, allocations: 4 kB / 0.6132 GB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.4109, allocations: 4 kB / 0.6132 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4109, allocations: 0 / 0.6132 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.4113, allocations: 260.1 kB / 0.6135 GB, free: 5.766 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/0.4113, allocations: 100.8 kB / 0.6136 GB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.4114, allocations: 8 kB / 0.6136 GB, free: 5.641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.4115, allocations: 7.984 kB / 0.6136 GB, free: 5.633 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.4115, allocations: 4 kB / 0.6136 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.4115, allocations: 15.98 kB / 0.6136 GB, free: 5.613 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001691/0.4117, allocations: 181.1 kB / 0.6138 GB, free: 5.438 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4117, allocations: 0 / 0.6138 GB, free: 5.438 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002603/0.412, allocations: 35.94 kB / 0.6138 GB, free: 5.402 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.0009638/0.4129, allocations: 466.9 kB / 0.6143 GB, free: 5.109 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.4133, allocations: 119.9 kB / 0.6144 GB, free: 4.992 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4133, allocations: 0 / 0.6144 GB, free: 4.992 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.4134, allocations: 67.91 kB / 0.6144 GB, free: 4.926 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.4137, allocations: 23.92 kB / 0.6145 GB, free: 4.902 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006084/0.4143, allocations: 393.3 kB / 0.6148 GB, free: 4.484 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.4147, allocations: 0.7238 MB / 0.6155 GB, free: 3.734 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.4147, allocations: 19.44 kB / 0.6156 GB, free: 3.715 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4147, allocations: 3.938 kB / 0.6156 GB, free: 3.711 MB / 426.7 MB Notification: Performance of Templates: time 0.00378/0.4185, allocations: 2.235 MB / 0.6177 GB, free: 1.477 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches