Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 198.4 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 226.5 MB / 244.1 MB, free: 8.121 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000753/0.000753, allocations: 96.09 kB / 296.1 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2857/0.2857, allocations: 44.82 MB / 392.9 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002766, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3675, allocations: 62.96 MB / 0.5165 GB, free: 37.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1042/0.4717, allocations: 89.49 MB / 0.6039 GB, free: 15.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.472, allocations: 79.95 kB / 0.6039 GB, free: 15.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0138/0.4858, allocations: 5.524 MB / 0.6093 GB, free: 10.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4859, allocations: 0 / 0.6093 GB, free: 10.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.4859, allocations: 0 / 0.6093 GB, free: 10.3 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004544/0.4863, allocations: 447.2 kB / 0.6098 GB, free: 9.816 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.4864, allocations: 8.031 kB / 0.6098 GB, free: 9.809 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.4864, allocations: 16.75 kB / 0.6098 GB, free: 9.793 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.4867, allocations: 222.4 kB / 0.61 GB, free: 9.539 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.4867, allocations: 4.375 kB / 0.61 GB, free: 9.535 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.4867, allocations: 16.28 kB / 0.61 GB, free: 9.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.4869, allocations: 74.16 kB / 0.6101 GB, free: 9.441 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4869, allocations: 192 / 0.6101 GB, free: 9.441 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.4869, allocations: 3.938 kB / 0.6101 GB, free: 9.438 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.4869, allocations: 4 kB / 0.6101 GB, free: 9.434 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.487, allocations: 43.95 kB / 0.6101 GB, free: 9.391 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.4875, allocations: 344.6 kB / 0.6105 GB, free: 9.004 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.4876, allocations: 62.56 kB / 0.6105 GB, free: 8.934 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.4876, allocations: 26.03 kB / 0.6106 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.4877, allocations: 8.141 kB / 0.6106 GB, free: 8.898 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.4877, allocations: 38.5 kB / 0.6106 GB, free: 8.852 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.4877, allocations: 0 / 0.6106 GB, free: 8.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009619/0.4887, allocations: 321.4 kB / 0.6109 GB, free: 8.531 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.4887, allocations: 63.39 kB / 0.611 GB, free: 8.457 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.489, allocations: 236.1 kB / 0.6112 GB, free: 8.211 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.489, allocations: 25.81 kB / 0.6112 GB, free: 8.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.489, allocations: 116.1 kB / 0.6113 GB, free: 8.062 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.4891, allocations: 43.34 kB / 0.6114 GB, free: 8.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.4891, allocations: 0 / 0.6114 GB, free: 8.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.4892, allocations: 330.8 kB / 0.6117 GB, free: 7.688 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.77e-05/0.4893, allocations: 39.97 kB / 0.6117 GB, free: 7.648 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.027e-05/0.4894, allocations: 39.98 kB / 0.6118 GB, free: 7.609 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.4896, allocations: 104.5 kB / 0.6119 GB, free: 7.508 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.4896, allocations: 0 / 0.6119 GB, free: 7.508 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000245/0.4898, allocations: 141.5 kB / 0.612 GB, free: 7.363 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.4899, allocations: 8 kB / 0.612 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4899, allocations: 3.984 kB / 0.612 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.4899, allocations: 0 / 0.612 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.49, allocations: 27.98 kB / 0.612 GB, free: 7.324 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.49, allocations: 7.875 kB / 0.612 GB, free: 7.316 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.4901, allocations: 15.94 kB / 0.6121 GB, free: 7.301 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.4901, allocations: 4 kB / 0.6121 GB, free: 7.297 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.0001032/0.4902, allocations: 129.8 kB / 0.6122 GB, free: 7.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.4903, allocations: 15.81 kB / 0.6122 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/0.4906, allocations: 175.1 kB / 0.6124 GB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4906, allocations: 0 / 0.6124 GB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4906, allocations: 3.938 kB / 0.6124 GB, free: 6.965 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.4906, allocations: 3.984 kB / 0.6124 GB, free: 6.961 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005975/0.4912, allocations: 0.499 MB / 0.6129 GB, free: 6.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4912, allocations: 0 / 0.6129 GB, free: 6.402 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.655e-05/0.4913, allocations: 23.98 kB / 0.6129 GB, free: 6.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.4913, allocations: 4 kB / 0.6129 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.4913, allocations: 4 kB / 0.6129 GB, free: 6.371 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4914, allocations: 3.984 kB / 0.6129 GB, free: 6.367 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4914, allocations: 8.031 kB / 0.6129 GB, free: 6.359 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.4917, allocations: 244.1 kB / 0.6131 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.4917, allocations: 93 kB / 0.6132 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.4918, allocations: 16 kB / 0.6132 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.4919, allocations: 4 kB / 0.6132 GB, free: 5.973 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.4919, allocations: 11.98 kB / 0.6132 GB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.4919, allocations: 4 kB / 0.6133 GB, free: 5.957 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001589/0.4921, allocations: 177.2 kB / 0.6134 GB, free: 5.785 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4921, allocations: 0 / 0.6134 GB, free: 5.785 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002651/0.4924, allocations: 43.92 kB / 0.6135 GB, free: 5.742 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.0009176/0.4933, allocations: 471.5 kB / 0.6139 GB, free: 5.445 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.4936, allocations: 99.95 kB / 0.614 GB, free: 5.348 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.4936, allocations: 4 kB / 0.614 GB, free: 5.344 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.4937, allocations: 55.91 kB / 0.6141 GB, free: 5.289 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.494, allocations: 15.94 kB / 0.6141 GB, free: 5.273 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005751/0.4946, allocations: 392.6 kB / 0.6145 GB, free: 4.855 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.4949, allocations: 0.7199 MB / 0.6152 GB, free: 4.109 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.495, allocations: 23.44 kB / 0.6152 GB, free: 4.086 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.495, allocations: 0 / 0.6152 GB, free: 4.086 MB / 426.7 MB Notification: Performance of Templates: time 0.003623/0.4986, allocations: 2.115 MB / 0.6172 GB, free: 1.969 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches