Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.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.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009668/0.0009668, allocations: 194.7 kB / 16.78 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 226.5 MB / 244.1 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007451/0.000745, allocations: 103.2 kB / 296.1 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2965/0.2965, allocations: 44.82 MB / 393 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002399/0.0002401, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.288, allocations: 62.97 MB / 0.5165 GB, free: 37.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1008/0.3888, allocations: 90.51 MB / 0.6049 GB, free: 14.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.3891, allocations: 75.95 kB / 0.6049 GB, free: 14.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01425/0.4034, allocations: 5.747 MB / 0.6105 GB, free: 9.055 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.4034, allocations: 0 / 0.6105 GB, free: 9.055 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.4034, allocations: 7.938 kB / 0.6106 GB, free: 9.047 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004733/0.4039, allocations: 419.5 kB / 0.611 GB, free: 8.586 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.404, allocations: 8.875 kB / 0.611 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.404, allocations: 12.78 kB / 0.611 GB, free: 8.566 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.4043, allocations: 210.7 kB / 0.6112 GB, free: 8.324 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.4043, allocations: 384 / 0.6112 GB, free: 8.324 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.4043, allocations: 4.375 kB / 0.6112 GB, free: 8.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.4045, allocations: 87.88 kB / 0.6113 GB, free: 8.223 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4045, allocations: 192 / 0.6113 GB, free: 8.223 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.4045, allocations: 11.92 kB / 0.6113 GB, free: 8.211 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.4045, allocations: 0 / 0.6113 GB, free: 8.211 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.4047, allocations: 47.97 kB / 0.6113 GB, free: 8.164 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.4051, allocations: 316.6 kB / 0.6116 GB, free: 7.805 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.4052, allocations: 54.56 kB / 0.6117 GB, free: 7.742 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.246e-05/0.4053, allocations: 28.94 kB / 0.6117 GB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.4053, allocations: 0 / 0.6117 GB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.4054, allocations: 34.55 kB / 0.6117 GB, free: 7.668 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.4054, allocations: 0 / 0.6117 GB, free: 7.668 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007553/0.4061, allocations: 265.2 kB / 0.612 GB, free: 7.402 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.4062, allocations: 81.09 kB / 0.6121 GB, free: 7.305 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.4063, allocations: 149.8 kB / 0.6122 GB, free: 7.148 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.4064, allocations: 29.7 kB / 0.6122 GB, free: 7.113 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/0.4064, allocations: 96.12 kB / 0.6123 GB, free: 7.016 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.4065, allocations: 23.66 kB / 0.6124 GB, free: 6.992 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.4065, allocations: 0 / 0.6124 GB, free: 6.992 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4066, allocations: 324 kB / 0.6127 GB, free: 6.668 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.4067, allocations: 47.97 kB / 0.6127 GB, free: 6.621 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.4069, allocations: 65.61 kB / 0.6128 GB, free: 6.551 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.4071, allocations: 108.8 kB / 0.6129 GB, free: 6.441 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4071, allocations: 0 / 0.6129 GB, free: 6.441 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002897/0.4074, allocations: 145.4 kB / 0.613 GB, free: 6.293 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.4074, allocations: 4 kB / 0.613 GB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4074, allocations: 3.938 kB / 0.613 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4074, allocations: 0 / 0.613 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.4076, allocations: 27.98 kB / 0.613 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.4076, allocations: 7.938 kB / 0.6131 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/0.4077, allocations: 19.98 kB / 0.6131 GB, free: 6.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.4077, allocations: 0 / 0.6131 GB, free: 6.23 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 (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.582e-05/0.4078, allocations: 121.8 kB / 0.6132 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.4078, allocations: 8.188 kB / 0.6132 GB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003319/0.4081, allocations: 150.6 kB / 0.6133 GB, free: 5.941 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4082, allocations: 7.984 kB / 0.6134 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4082, allocations: 0 / 0.6134 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4082, allocations: 0 / 0.6134 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005774/0.4088, allocations: 446.4 kB / 0.6138 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4088, allocations: 7.938 kB / 0.6138 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.173e-05/0.4089, allocations: 19.98 kB / 0.6138 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4089, allocations: 0 / 0.6138 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.4089, allocations: 4 kB / 0.6138 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.4089, allocations: 0 / 0.6138 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4089, allocations: 3.938 kB / 0.6138 GB, free: 5.406 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.4092, allocations: 239.3 kB / 0.614 GB, free: 5.156 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.4093, allocations: 93 kB / 0.6141 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.4093, allocations: 0 / 0.6141 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.502e-05/0.4094, allocations: 15.98 kB / 0.6141 GB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.4095, allocations: 15.92 kB / 0.6142 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.4095, allocations: 4 kB / 0.6142 GB, free: 5.012 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000103/0.4096, allocations: 116.8 kB / 0.6143 GB, free: 4.898 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4096, allocations: 0 / 0.6143 GB, free: 4.898 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003199/0.41, allocations: 51.92 kB / 0.6143 GB, free: 4.848 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 (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.001068/0.411, allocations: 0.4918 MB / 0.6148 GB, free: 4.516 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.4114, allocations: 107.9 kB / 0.6149 GB, free: 4.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4114, allocations: 0 / 0.6149 GB, free: 4.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.4115, allocations: 64.05 kB / 0.615 GB, free: 4.348 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.4118, allocations: 19.23 kB / 0.615 GB, free: 4.332 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.4123, allocations: 258.6 kB / 0.6152 GB, free: 4.039 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.4126, allocations: 0.7043 MB / 0.6159 GB, free: 3.309 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.944e-05/0.4126, allocations: 15.42 kB / 0.6159 GB, free: 3.297 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4126, allocations: 4 kB / 0.6159 GB, free: 3.293 MB / 426.7 MB Notification: Performance of Templates: time 0.003678/0.4163, allocations: 2.193 MB / 0.6181 GB, free: 1.098 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches