Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001082/0.001082, allocations: 190.8 kB / 16.78 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 226.5 MB / 244.1 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007577/0.0007577, allocations: 101.8 kB / 296.1 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3007/0.3007, allocations: 44.81 MB / 392.9 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000253/0.0002532, allocations: 15.98 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2856, allocations: 62.96 MB / 0.5165 GB, free: 37.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1045/0.3902, allocations: 89.49 MB / 0.6039 GB, free: 15.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.3904, allocations: 71.97 kB / 0.6039 GB, free: 15.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01334/0.4038, allocations: 5.203 MB / 0.609 GB, free: 10.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4038, allocations: 0 / 0.609 GB, free: 10.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.4038, allocations: 4 kB / 0.609 GB, free: 10.62 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.0004577/0.4043, allocations: 419.4 kB / 0.6094 GB, free: 10.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.4043, allocations: 8.031 kB / 0.6094 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.4044, allocations: 12.75 kB / 0.6094 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.4046, allocations: 208.1 kB / 0.6096 GB, free: 9.895 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.4046, allocations: 4.375 kB / 0.6096 GB, free: 9.891 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.4047, allocations: 8.375 kB / 0.6096 GB, free: 9.883 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.4048, allocations: 78.16 kB / 0.6097 GB, free: 9.801 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4049, allocations: 192 / 0.6097 GB, free: 9.801 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.4049, allocations: 3.938 kB / 0.6097 GB, free: 9.797 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.4049, allocations: 3.938 kB / 0.6097 GB, free: 9.793 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.405, allocations: 43.97 kB / 0.6098 GB, free: 9.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.4054, allocations: 328.6 kB / 0.6101 GB, free: 9.379 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.4055, allocations: 62.55 kB / 0.6101 GB, free: 9.309 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.4056, allocations: 26.03 kB / 0.6102 GB, free: 9.281 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.4056, allocations: 8.141 kB / 0.6102 GB, free: 9.273 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.4057, allocations: 34.56 kB / 0.6102 GB, free: 9.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.4057, allocations: 0 / 0.6102 GB, free: 9.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009925/0.4067, allocations: 321 kB / 0.6105 GB, free: 8.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.4067, allocations: 59.41 kB / 0.6106 GB, free: 8.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.4069, allocations: 165.3 kB / 0.6107 GB, free: 8.672 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.4069, allocations: 25.7 kB / 0.6108 GB, free: 8.641 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/0.407, allocations: 104 kB / 0.6109 GB, free: 8.535 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.407, allocations: 47.28 kB / 0.6109 GB, free: 8.488 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.407, allocations: 112 / 0.6109 GB, free: 8.488 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4072, allocations: 326.8 kB / 0.6112 GB, free: 8.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.206e-05/0.4073, allocations: 43.97 kB / 0.6113 GB, free: 8.117 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.11e-05/0.4074, allocations: 35.98 kB / 0.6113 GB, free: 8.082 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.4075, allocations: 104.4 kB / 0.6114 GB, free: 7.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4076, allocations: 0 / 0.6114 GB, free: 7.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002417/0.4078, allocations: 141.6 kB / 0.6115 GB, free: 7.836 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.4078, allocations: 7.984 kB / 0.6115 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4078, allocations: 0 / 0.6115 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.4079, allocations: 3.938 kB / 0.6115 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.408, allocations: 27.98 kB / 0.6116 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.408, allocations: 4 kB / 0.6116 GB, free: 7.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.4081, allocations: 8 kB / 0.6116 GB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.4081, allocations: 8 kB / 0.6116 GB, free: 7.777 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 9.951e-05/0.4082, allocations: 129.8 kB / 0.6117 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.4082, allocations: 7.906 kB / 0.6117 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003475/0.4086, allocations: 175.1 kB / 0.6119 GB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4086, allocations: 7.938 kB / 0.6119 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4086, allocations: 0 / 0.6119 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4086, allocations: 0 / 0.6119 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005591/0.4092, allocations: 480.8 kB / 0.6123 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4092, allocations: 0 / 0.6123 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.45e-05/0.4093, allocations: 23.98 kB / 0.6124 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4093, allocations: 4 kB / 0.6124 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.4093, allocations: 4 kB / 0.6124 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4093, allocations: 0 / 0.6124 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.4093, allocations: 12.02 kB / 0.6124 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.4096, allocations: 244.1 kB / 0.6126 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.4097, allocations: 88.95 kB / 0.6127 GB, free: 6.516 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.4097, allocations: 7.984 kB / 0.6127 GB, free: 6.508 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.406e-05/0.4098, allocations: 12 kB / 0.6127 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.4098, allocations: 7.984 kB / 0.6127 GB, free: 6.488 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.4098, allocations: 4 kB / 0.6127 GB, free: 6.484 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.425e-05/0.4099, allocations: 126.1 kB / 0.6129 GB, free: 6.363 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4099, allocations: 0 / 0.6129 GB, free: 6.363 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002658/0.4102, allocations: 39.88 kB / 0.6129 GB, free: 6.324 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.0009742/0.4112, allocations: 460.1 kB / 0.6133 GB, free: 6.031 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000262/0.4115, allocations: 111.9 kB / 0.6134 GB, free: 5.922 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4115, allocations: 0 / 0.6134 GB, free: 5.922 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.4116, allocations: 51.92 kB / 0.6135 GB, free: 5.871 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.4119, allocations: 22.17 kB / 0.6135 GB, free: 5.852 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.4124, allocations: 304.2 kB / 0.6138 GB, free: 5.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.4127, allocations: 0.7083 MB / 0.6145 GB, free: 4.785 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.4127, allocations: 23.42 kB / 0.6145 GB, free: 4.762 MB / 426.7 MB Notification: Performance of SimCode: time 1.774e-06/0.4127, allocations: 0 / 0.6145 GB, free: 4.762 MB / 426.7 MB Notification: Performance of Templates: time 0.003478/0.4162, allocations: 1.924 MB / 0.6164 GB, free: 2.84 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches