Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 201.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.282/1.282, 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.000773/0.0007731, allocations: 92.41 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1832/0.1832, allocations: 44.84 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002314/0.0002314, allocations: 8 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09348/0.09372, allocations: 62.96 MB / 0.5153 GB, free: 2.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.00192/0.09569, allocations: 1.28 MB / 0.5166 GB, free: 1.453 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008314/0.09655, allocations: 499.2 kB / 0.5171 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.54e-05/0.09661, allocations: 0 / 0.5171 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.09682, allocations: 23.92 kB / 0.5171 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.09703, allocations: 71.69 kB / 0.5171 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.09732, allocations: 94.31 kB / 0.5172 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.09744, allocations: 51.84 kB / 0.5173 GB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.423e-05/0.09753, allocations: 19.97 kB / 0.5173 GB, free: 0.707 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.131e-05/0.09758, allocations: 19.88 kB / 0.5173 GB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.448e-05/0.09764, allocations: 15.92 kB / 0.5173 GB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.09766, allocations: 0 / 0.5173 GB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.488e-05/0.09773, allocations: 35.86 kB / 0.5174 GB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.209e-05/0.09777, allocations: 7.984 kB / 0.5174 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.09781, allocations: 37.64 kB / 0.5174 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.09793, allocations: 59.91 kB / 0.5175 GB, free: 0.5273 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.09794, allocations: 0 / 0.5175 GB, free: 0.5273 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09795, allocations: 0 / 0.5175 GB, free: 0.5273 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.09796, allocations: 0 / 0.5175 GB, free: 0.5273 MB / 346.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.0003766/0.09834, allocations: 379.4 kB / 0.5178 GB, free: 112 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.09838, allocations: 12.03 kB / 0.5178 GB, free: 100 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.09842, allocations: 11.91 kB / 0.5179 GB, free: 88 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1936/0.292, allocations: 186.2 kB / 0.518 GB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.292, allocations: 1.656 kB / 0.518 GB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.2921, allocations: 5.953 kB / 0.518 GB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.2922, allocations: 49.12 kB / 0.5181 GB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2922, allocations: 4.531 kB / 0.5181 GB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.2922, allocations: 1.125 kB / 0.5181 GB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2922, allocations: 0.5 kB / 0.5181 GB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.2924, allocations: 27.23 kB / 0.5181 GB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.2927, allocations: 292.8 kB / 0.5184 GB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.2929, allocations: 48.64 kB / 0.5184 GB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.439e-05/0.293, allocations: 22.81 kB / 0.5185 GB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.293, allocations: 2.203 kB / 0.5185 GB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.316e-05/0.293, allocations: 32.25 kB / 0.5185 GB, free: 11.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.293, allocations: 0 / 0.5185 GB, free: 11.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005471/0.2936, allocations: 169.3 kB / 0.5187 GB, free: 11.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.2936, allocations: 52.53 kB / 0.5187 GB, free: 11.28 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.2938, allocations: 172 kB / 0.5189 GB, free: 11.17 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.2938, allocations: 30.45 kB / 0.5189 GB, free: 11.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.2938, allocations: 95.44 kB / 0.519 GB, free: 11.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.2939, allocations: 15.53 kB / 0.519 GB, free: 11.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.2939, allocations: 1.219 kB / 0.519 GB, free: 11.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.994e-05/0.2939, allocations: 324.6 kB / 0.5193 GB, free: 10.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.44e-05/0.294, allocations: 23.17 kB / 0.5193 GB, free: 10.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.593e-05/0.2941, allocations: 29.61 kB / 0.5194 GB, free: 10.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.234e-05/0.2942, allocations: 26.08 kB / 0.5194 GB, free: 10.72 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2942, allocations: 0.8438 kB / 0.5194 GB, free: 10.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002151/0.2944, allocations: 96.52 kB / 0.5195 GB, free: 10.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.2944, allocations: 9.797 kB / 0.5195 GB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2945, allocations: 0 / 0.5195 GB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.2945, allocations: 0.8438 kB / 0.5195 GB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.2946, allocations: 19.44 kB / 0.5195 GB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2946, allocations: 0.6562 kB / 0.5195 GB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.2947, allocations: 8.391 kB / 0.5195 GB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.2947, allocations: 2.781 kB / 0.5195 GB, free: 10.68 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 (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 7.098e-05/0.2948, allocations: 126 kB / 0.5197 GB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.2948, allocations: 8.031 kB / 0.5197 GB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.2951, allocations: 104.9 kB / 0.5198 GB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2951, allocations: 1.547 kB / 0.5198 GB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2951, allocations: 0 / 0.5198 GB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2951, allocations: 1.719 kB / 0.5198 GB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.2955, allocations: 368.3 kB / 0.5201 GB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2955, allocations: 2.641 kB / 0.5201 GB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-05/0.2956, allocations: 19.7 kB / 0.5201 GB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2956, allocations: 0 / 0.5201 GB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.2956, allocations: 5.828 kB / 0.5201 GB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2956, allocations: 1.031 kB / 0.5201 GB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2956, allocations: 0 / 0.5201 GB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.2958, allocations: 195.4 kB / 0.5203 GB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.2958, allocations: 90.91 kB / 0.5204 GB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.2959, allocations: 0.5156 kB / 0.5204 GB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.741e-05/0.2959, allocations: 8.375 kB / 0.5204 GB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.296, allocations: 6.938 kB / 0.5204 GB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.296, allocations: 3.469 kB / 0.5204 GB, free: 9.957 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.994e-05/0.2961, allocations: 121.1 kB / 0.5205 GB, free: 9.883 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2961, allocations: 1.156 kB / 0.5205 GB, free: 9.883 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002033/0.2963, allocations: 17.59 kB / 0.5206 GB, free: 9.879 MB / 346.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.0007017/0.297, allocations: 408.8 kB / 0.521 GB, free: 9.676 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.2972, allocations: 55.86 kB / 0.521 GB, free: 9.676 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.2972, allocations: 3.938 kB / 0.521 GB, free: 9.672 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.742e-05/0.2973, allocations: 34.77 kB / 0.521 GB, free: 9.668 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.2976, allocations: 15.2 kB / 0.5211 GB, free: 9.668 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.2979, allocations: 223.6 kB / 0.5213 GB, free: 9.496 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.2981, allocations: 0.7071 MB / 0.522 GB, free: 8.793 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.2981, allocations: 16.47 kB / 0.522 GB, free: 8.785 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2981, allocations: 0 / 0.522 GB, free: 8.785 MB / 346.7 MB Notification: Performance of Templates: time 0.002745/0.3009, allocations: 1.458 MB / 0.5234 GB, free: 8.637 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches