Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001679/0.001679, allocations: 201 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.639/1.639, allocations: 226.5 MB / 245.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009336/0.0009338, allocations: 93.95 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3465/0.3465, allocations: 44.82 MB / 394.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.0002979, allocations: 11.98 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3592, allocations: 62.96 MB / 0.5184 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.4843, allocations: 89.39 MB / 0.6057 GB, free: 15.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.4845, allocations: 71.95 kB / 0.6058 GB, free: 15.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01228/0.4968, allocations: 4.615 MB / 0.6103 GB, free: 11.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4969, allocations: 0 / 0.6103 GB, free: 11.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.4969, allocations: 4 kB / 0.6103 GB, free: 11.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005294/0.4974, allocations: 415.4 kB / 0.6107 GB, free: 10.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.4975, allocations: 8.031 kB / 0.6107 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.4976, allocations: 8.844 kB / 0.6107 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.4979, allocations: 206.7 kB / 0.6109 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.4979, allocations: 8.359 kB / 0.6109 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.4979, allocations: 4.375 kB / 0.6109 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.4981, allocations: 49.81 kB / 0.611 GB, free: 10.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.4981, allocations: 0 / 0.611 GB, free: 10.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.4981, allocations: 7.938 kB / 0.611 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.4981, allocations: 0 / 0.611 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.758e-05/0.4982, allocations: 31.91 kB / 0.611 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.4986, allocations: 292.9 kB / 0.6113 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.4988, allocations: 50.55 kB / 0.6113 GB, free: 9.984 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.4989, allocations: 16.86 kB / 0.6113 GB, free: 9.965 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.4989, allocations: 0 / 0.6113 GB, free: 9.965 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.499, allocations: 38.58 kB / 0.6114 GB, free: 9.918 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.499, allocations: 0 / 0.6114 GB, free: 9.918 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005476/0.4995, allocations: 173.2 kB / 0.6116 GB, free: 9.742 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.4996, allocations: 51.41 kB / 0.6116 GB, free: 9.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.4997, allocations: 182.3 kB / 0.6118 GB, free: 9.488 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.4997, allocations: 25.7 kB / 0.6118 GB, free: 9.457 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.4998, allocations: 100 kB / 0.6119 GB, free: 9.355 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.4998, allocations: 15.8 kB / 0.6119 GB, free: 9.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.4998, allocations: 3.938 kB / 0.6119 GB, free: 9.336 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.4999, allocations: 326.8 kB / 0.6122 GB, free: 9.008 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.159e-05/0.5, allocations: 23.98 kB / 0.6122 GB, free: 8.984 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.366e-05/0.5001, allocations: 27.98 kB / 0.6123 GB, free: 8.957 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.5002, allocations: 56.83 kB / 0.6123 GB, free: 8.898 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5002, allocations: 0 / 0.6123 GB, free: 8.898 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001833/0.5004, allocations: 101.5 kB / 0.6124 GB, free: 8.793 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.5005, allocations: 4 kB / 0.6124 GB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5005, allocations: 0 / 0.6124 GB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.5005, allocations: 0 / 0.6124 GB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.5006, allocations: 19.98 kB / 0.6124 GB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.5006, allocations: 0 / 0.6124 GB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.5006, allocations: 12 kB / 0.6125 GB, free: 8.758 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.5006, allocations: 0 / 0.6125 GB, free: 8.758 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 8.867e-05/0.5007, allocations: 129.7 kB / 0.6126 GB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.5008, allocations: 7.906 kB / 0.6126 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.5011, allocations: 109.9 kB / 0.6127 GB, free: 8.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5011, allocations: 4 kB / 0.6127 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.5011, allocations: 0 / 0.6127 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5011, allocations: 0 / 0.6127 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.5015, allocations: 375.5 kB / 0.6131 GB, free: 8.074 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5015, allocations: 0 / 0.6131 GB, free: 8.074 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.768e-05/0.5016, allocations: 19.98 kB / 0.6131 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.5016, allocations: 0 / 0.6131 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.5016, allocations: 4.375 kB / 0.6131 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.5016, allocations: 3.938 kB / 0.6131 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5016, allocations: 7.938 kB / 0.6131 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.5019, allocations: 195.3 kB / 0.6133 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.5019, allocations: 89.02 kB / 0.6134 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.502, allocations: 0 / 0.6134 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.502, allocations: 11.92 kB / 0.6134 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.5021, allocations: 4.281 kB / 0.6134 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.5021, allocations: 0 / 0.6134 GB, free: 7.711 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001014/0.5022, allocations: 139.2 kB / 0.6135 GB, free: 7.574 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5022, allocations: 4 kB / 0.6135 GB, free: 7.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000233/0.5024, allocations: 12 kB / 0.6135 GB, free: 7.559 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.0008463/0.5033, allocations: 420.1 kB / 0.6139 GB, free: 7.277 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.5035, allocations: 59.91 kB / 0.614 GB, free: 7.219 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5035, allocations: 4 kB / 0.614 GB, free: 7.215 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.859e-05/0.5036, allocations: 31.97 kB / 0.614 GB, free: 7.184 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.5039, allocations: 12 kB / 0.614 GB, free: 7.172 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003943/0.5043, allocations: 213.1 kB / 0.6142 GB, free: 6.938 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.5045, allocations: 0.7004 MB / 0.6149 GB, free: 6.211 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.209e-05/0.5046, allocations: 15.98 kB / 0.6149 GB, free: 6.195 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.5046, allocations: 11.44 kB / 0.6149 GB, free: 6.184 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5046, allocations: 0 / 0.6149 GB, free: 6.184 MB / 426.7 MB Notification: Performance of Templates: time 0.003256/0.5079, allocations: 1.131 MB / 0.616 GB, free: 5.059 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches