Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000942/0.000942, allocations: 202.1 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 226.6 MB / 243.1 MB, free: 12.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007324/0.0007325, allocations: 100.5 kB / 295.1 MB, free: 4.398 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1749/0.1749, allocations: 44.84 MB / 392 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002673, allocations: 8 kB / 464.7 MB, free: 68.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09003/0.09031, allocations: 62.96 MB / 0.5153 GB, free: 5.121 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.00133/0.09167, allocations: 1.307 MB / 0.5166 GB, free: 3.797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005885/0.09227, allocations: 0.4954 MB / 0.5171 GB, free: 3.297 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/0.09233, allocations: 0 / 0.5171 GB, free: 3.297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.09255, allocations: 67.83 kB / 0.5172 GB, free: 3.23 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.09273, allocations: 91.78 kB / 0.5172 GB, free: 3.141 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.09294, allocations: 87.81 kB / 0.5173 GB, free: 3.055 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.921e-05/0.09305, allocations: 71.77 kB / 0.5174 GB, free: 2.984 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.329e-05/0.09313, allocations: 19.97 kB / 0.5174 GB, free: 2.965 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.134e-05/0.09318, allocations: 27.91 kB / 0.5174 GB, free: 2.938 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.386e-05/0.09326, allocations: 51.75 kB / 0.5175 GB, free: 2.887 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.09328, allocations: 0 / 0.5175 GB, free: 2.887 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.164e-05/0.09336, allocations: 47.92 kB / 0.5175 GB, free: 2.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.981e-05/0.09339, allocations: 11.98 kB / 0.5175 GB, free: 2.828 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.09342, allocations: 33.64 kB / 0.5176 GB, free: 2.789 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.676e-05/0.09352, allocations: 83.88 kB / 0.5177 GB, free: 2.707 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.09353, allocations: 4 kB / 0.5177 GB, free: 2.703 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.09353, allocations: 0 / 0.5177 GB, free: 2.703 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.09354, allocations: 0 / 0.5177 GB, free: 2.703 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003082/0.09386, allocations: 403.1 kB / 0.518 GB, free: 2.262 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.09389, allocations: 12.03 kB / 0.5181 GB, free: 2.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.09393, allocations: 11.81 kB / 0.5181 GB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.09406, allocations: 199.5 kB / 0.5183 GB, free: 2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.09407, allocations: 0 / 0.5183 GB, free: 2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.09409, allocations: 4 kB / 0.5183 GB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.09421, allocations: 61.67 kB / 0.5183 GB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.09423, allocations: 0 / 0.5183 GB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.09424, allocations: 0 / 0.5183 GB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.09425, allocations: 0 / 0.5183 GB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.526e-05/0.09434, allocations: 31.92 kB / 0.5184 GB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.09463, allocations: 312.7 kB / 0.5187 GB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.279e-05/0.09472, allocations: 42.56 kB / 0.5187 GB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/0.09477, allocations: 24.88 kB / 0.5187 GB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.0948, allocations: 4 kB / 0.5187 GB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.09482, allocations: 34.56 kB / 0.5188 GB, free: 1.418 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.09482, allocations: 0 / 0.5188 GB, free: 1.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007397/0.09557, allocations: 265.1 kB / 0.519 GB, free: 1.152 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.939e-05/0.0956, allocations: 59.36 kB / 0.5191 GB, free: 1.082 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.09573, allocations: 216.1 kB / 0.5193 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.375e-06/0.09574, allocations: 33.7 kB / 0.5193 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.09578, allocations: 100 kB / 0.5194 GB, free: 0.7227 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.0958, allocations: 27.64 kB / 0.5194 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.09581, allocations: 0 / 0.5194 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.982e-05/0.09586, allocations: 330.8 kB / 0.5197 GB, free: 372 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.571e-05/0.09594, allocations: 31.97 kB / 0.5198 GB, free: 340 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-05/0.09601, allocations: 35.98 kB / 0.5198 GB, free: 304 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.436e-05/0.09609, allocations: 35.98 kB / 0.5198 GB, free: 268 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.0961, allocations: 0 / 0.5198 GB, free: 268 kB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001812/0.09628, allocations: 125.4 kB / 0.52 GB, free: 136 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.09631, allocations: 4 kB / 0.52 GB, free: 132 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.09632, allocations: 7.922 kB / 0.52 GB, free: 124 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.996e-06/0.09633, allocations: 4 kB / 0.52 GB, free: 120 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.34e-05/0.09642, allocations: 15.94 kB / 0.52 GB, free: 104 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.09643, allocations: 7.953 kB / 0.52 GB, free: 96 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.989e-05/0.09648, allocations: 11.98 kB / 0.52 GB, free: 84 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.09649, allocations: 0.7344 kB / 0.52 GB, free: 84 kB / 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 (8): * Single equations (assignments): 8 * 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.947e-05/0.09658, allocations: 129.8 kB / 0.5201 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.09662, allocations: 11.91 kB / 0.5201 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.09689, allocations: 143 kB / 0.5203 GB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.0969, allocations: 3.984 kB / 0.5203 GB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.09691, allocations: 4 kB / 0.5203 GB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.09692, allocations: 11.94 kB / 0.5203 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004709/0.09739, allocations: 419.2 kB / 0.5207 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.09741, allocations: 0 / 0.5207 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.583e-05/0.09748, allocations: 24.02 kB / 0.5207 GB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.09749, allocations: 4 kB / 0.5207 GB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.09751, allocations: 7.953 kB / 0.5207 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.09751, allocations: 0 / 0.5207 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.09752, allocations: 7.922 kB / 0.5207 GB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.09776, allocations: 216.3 kB / 0.5209 GB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.09781, allocations: 88.92 kB / 0.521 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.09784, allocations: 3.984 kB / 0.521 GB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.09791, allocations: 11.95 kB / 0.521 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.09795, allocations: 15.98 kB / 0.5211 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.09796, allocations: 0 / 0.5211 GB, free: 14.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.09809, allocations: 163.2 kB / 0.5212 GB, free: 14.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09809, allocations: 0 / 0.5212 GB, free: 14.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000215/0.09831, allocations: 20 kB / 0.5212 GB, free: 14.71 MB / 362.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 (8): * Single equations (assignments): 8 * 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.0008136/0.09913, allocations: 458.9 kB / 0.5217 GB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.09934, allocations: 71.95 kB / 0.5217 GB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.09936, allocations: 4 kB / 0.5217 GB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.16e-05/0.09945, allocations: 47.97 kB / 0.5218 GB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.09972, allocations: 19.98 kB / 0.5218 GB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.1001, allocations: 308.2 kB / 0.5221 GB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.1004, allocations: 0.7043 MB / 0.5228 GB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.1004, allocations: 15.44 kB / 0.5228 GB, free: 13.2 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1004, allocations: 0 / 0.5228 GB, free: 13.2 MB / 362.7 MB Notification: Performance of Templates: time 0.002807/0.1032, allocations: 1.807 MB / 0.5246 GB, free: 11.39 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches