Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009465/0.0009465, allocations: 200.8 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 226.6 MB / 243.1 MB, free: 14.27 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007015/0.0007015, allocations: 104.1 kB / 295.1 MB, free: 10.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1903/0.1903, allocations: 44.84 MB / 392 MB, free: 9.305 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002342/0.0002342, allocations: 12 kB / 464.7 MB, free: 49.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09325/0.0935, allocations: 62.97 MB / 0.5153 GB, free: 2.727 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.001743/0.09528, allocations: 1.334 MB / 0.5166 GB, free: 1.375 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007698/0.09607, allocations: 0.4992 MB / 0.5171 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.28e-05/0.09612, allocations: 0 / 0.5171 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.09633, allocations: 27.89 kB / 0.5172 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.09652, allocations: 67.77 kB / 0.5172 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.09678, allocations: 98.44 kB / 0.5173 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.09691, allocations: 71.81 kB / 0.5174 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.354e-05/0.09701, allocations: 27.97 kB / 0.5174 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.722e-05/0.09706, allocations: 27.86 kB / 0.5174 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.09715, allocations: 35.83 kB / 0.5175 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.09717, allocations: 0 / 0.5175 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.525e-05/0.09725, allocations: 39.94 kB / 0.5175 GB, free: 496 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.09729, allocations: 15.98 kB / 0.5175 GB, free: 480 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.563e-05/0.09732, allocations: 37.64 kB / 0.5176 GB, free: 436 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.09745, allocations: 79.86 kB / 0.5176 GB, free: 356 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.09746, allocations: 4 kB / 0.5176 GB, free: 352 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.09747, allocations: 0 / 0.5176 GB, free: 352 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.09747, allocations: 0 / 0.5176 GB, free: 352 kB / 346.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.1818/0.2793, allocations: 391.6 kB / 0.518 GB, free: 11.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2794, allocations: 9.281 kB / 0.518 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.2794, allocations: 12.94 kB / 0.518 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.2796, allocations: 199.9 kB / 0.5182 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.2797, allocations: 4.5 kB / 0.5182 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.2797, allocations: 6.188 kB / 0.5182 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.2799, allocations: 71.48 kB / 0.5183 GB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.28, allocations: 1.438 kB / 0.5183 GB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.28, allocations: 6.406 kB / 0.5183 GB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.28, allocations: 1.531 kB / 0.5183 GB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.2802, allocations: 49.45 kB / 0.5184 GB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.2807, allocations: 341.1 kB / 0.5187 GB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.2808, allocations: 65.17 kB / 0.5187 GB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.346e-05/0.2809, allocations: 31.95 kB / 0.5188 GB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.2809, allocations: 3.891 kB / 0.5188 GB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.281, allocations: 34.12 kB / 0.5188 GB, free: 11.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.281, allocations: 0 / 0.5188 GB, free: 11.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001182/0.2822, allocations: 355.3 kB / 0.5191 GB, free: 11.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.2822, allocations: 59.84 kB / 0.5192 GB, free: 11.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.2824, allocations: 166.9 kB / 0.5194 GB, free: 10.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.2824, allocations: 28.11 kB / 0.5194 GB, free: 10.92 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.2824, allocations: 103.9 kB / 0.5195 GB, free: 10.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.2825, allocations: 43.23 kB / 0.5195 GB, free: 10.81 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.2825, allocations: 1.906 kB / 0.5195 GB, free: 10.81 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.434e-05/0.2825, allocations: 325.8 kB / 0.5198 GB, free: 10.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.2827, allocations: 47.36 kB / 0.5199 GB, free: 10.49 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.2828, allocations: 48.86 kB / 0.5199 GB, free: 10.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.2829, allocations: 53.47 kB / 0.52 GB, free: 10.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2829, allocations: 4 kB / 0.52 GB, free: 10.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003008/0.2833, allocations: 158.5 kB / 0.5201 GB, free: 10.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.2833, allocations: 4.938 kB / 0.5201 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2833, allocations: 4.469 kB / 0.5201 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2833, allocations: 4.609 kB / 0.5202 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.2835, allocations: 31.91 kB / 0.5202 GB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2835, allocations: 1.156 kB / 0.5202 GB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/0.2835, allocations: 7.734 kB / 0.5202 GB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.2835, allocations: 4.531 kB / 0.5202 GB, free: 10.44 MB / 346.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 8.007e-05/0.2836, allocations: 123.1 kB / 0.5203 GB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.2837, allocations: 18.17 kB / 0.5203 GB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003946/0.2841, allocations: 201.2 kB / 0.5205 GB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2841, allocations: 3.109 kB / 0.5205 GB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.2841, allocations: 1.438 kB / 0.5205 GB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2841, allocations: 1.031 kB / 0.5205 GB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006316/0.2847, allocations: 0.4937 MB / 0.521 GB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2847, allocations: 2.078 kB / 0.521 GB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.636e-05/0.2848, allocations: 31.06 kB / 0.521 GB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2849, allocations: 1.594 kB / 0.521 GB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.2849, allocations: 7.359 kB / 0.5211 GB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2849, allocations: 1.219 kB / 0.5211 GB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2849, allocations: 1.578 kB / 0.5211 GB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.2852, allocations: 258.8 kB / 0.5213 GB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.2852, allocations: 91.62 kB / 0.5214 GB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.2853, allocations: 5.203 kB / 0.5214 GB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.407e-05/0.2854, allocations: 8.562 kB / 0.5214 GB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.2854, allocations: 14.2 kB / 0.5214 GB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.629e-06/0.2854, allocations: 4.25 kB / 0.5214 GB, free: 9.684 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.066e-05/0.2855, allocations: 128.4 kB / 0.5215 GB, free: 9.598 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2855, allocations: 0 / 0.5215 GB, free: 9.598 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.2858, allocations: 26.69 kB / 0.5216 GB, free: 9.594 MB / 346.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.0008795/0.2866, allocations: 452.4 kB / 0.522 GB, free: 9.379 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000316/0.287, allocations: 123.8 kB / 0.5221 GB, free: 9.344 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.287, allocations: 0 / 0.5221 GB, free: 9.344 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.2871, allocations: 64.56 kB / 0.5222 GB, free: 9.328 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.2874, allocations: 18.8 kB / 0.5222 GB, free: 9.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.2879, allocations: 333.6 kB / 0.5225 GB, free: 9.066 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.2881, allocations: 0.71 MB / 0.5232 GB, free: 8.367 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.2881, allocations: 23.66 kB / 0.5232 GB, free: 8.359 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2882, allocations: 0 / 0.5232 GB, free: 8.359 MB / 346.7 MB Notification: Performance of Templates: time 0.004057/0.2922, allocations: 1.984 MB / 0.5252 GB, free: 8.16 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches