Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,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.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.CombiTable1Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009251/0.0009249, allocations: 198.2 kB / 15.79 MB, free: 6.027 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.5 MB / 243.1 MB, free: 12.56 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006962/0.0006963, allocations: 103.1 kB / 295.1 MB, free: 4.387 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1849/0.1849, allocations: 44.83 MB / 392 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002334/0.0002334, allocations: 4 kB / 464.7 MB, free: 68.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08754/0.08779, allocations: 62.96 MB / 0.5153 GB, free: 5.125 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.001314/0.08914, allocations: 1.311 MB / 0.5166 GB, free: 3.797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005758/0.08973, allocations: 491.2 kB / 0.5171 GB, free: 3.312 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.08978, allocations: 0 / 0.5171 GB, free: 3.312 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.09, allocations: 103.8 kB / 0.5172 GB, free: 3.211 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.09018, allocations: 99.75 kB / 0.5173 GB, free: 3.113 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.09036, allocations: 79.11 kB / 0.5173 GB, free: 3.039 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.09047, allocations: 75.73 kB / 0.5174 GB, free: 2.965 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.669e-05/0.09056, allocations: 15.98 kB / 0.5174 GB, free: 2.949 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.259e-05/0.09061, allocations: 31.89 kB / 0.5175 GB, free: 2.918 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.094e-05/0.09069, allocations: 55.81 kB / 0.5175 GB, free: 2.863 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.09071, allocations: 4 kB / 0.5175 GB, free: 2.859 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.199e-05/0.09081, allocations: 43.92 kB / 0.5176 GB, free: 2.816 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.411e-05/0.09085, allocations: 23.92 kB / 0.5176 GB, free: 2.793 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.09087, allocations: 33.64 kB / 0.5176 GB, free: 2.754 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.09098, allocations: 87.86 kB / 0.5177 GB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.09099, allocations: 0 / 0.5177 GB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.091, allocations: 0 / 0.5177 GB, free: 2.668 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.09101, allocations: 0 / 0.5177 GB, free: 2.668 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.0003347/0.09135, allocations: 415 kB / 0.5181 GB, free: 2.215 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.09139, allocations: 8.031 kB / 0.5181 GB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.09143, allocations: 19.81 kB / 0.5181 GB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.09156, allocations: 203.6 kB / 0.5183 GB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.672e-06/0.09158, allocations: 0 / 0.5183 GB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.0916, allocations: 4 kB / 0.5183 GB, free: 1.941 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.09172, allocations: 57.61 kB / 0.5184 GB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.09174, allocations: 0 / 0.5184 GB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.09175, allocations: 4 kB / 0.5184 GB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.09176, allocations: 0 / 0.5184 GB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.336e-05/0.09185, allocations: 31.97 kB / 0.5184 GB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.09212, allocations: 304.7 kB / 0.5187 GB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.199e-05/0.09221, allocations: 50.48 kB / 0.5187 GB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/0.09226, allocations: 20.94 kB / 0.5188 GB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.09228, allocations: 4 kB / 0.5188 GB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.185e-05/0.0923, allocations: 30.56 kB / 0.5188 GB, free: 1.371 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.09231, allocations: 0 / 0.5188 GB, free: 1.371 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000742/0.09305, allocations: 257 kB / 0.519 GB, free: 1.113 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.798e-05/0.09308, allocations: 55.36 kB / 0.5191 GB, free: 1.047 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.09325, allocations: 254.3 kB / 0.5193 GB, free: 0.7891 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.09326, allocations: 25.7 kB / 0.5194 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.0933, allocations: 116 kB / 0.5195 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.09333, allocations: 23.66 kB / 0.5195 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.09333, allocations: 0 / 0.5195 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.301e-05/0.09338, allocations: 322.8 kB / 0.5198 GB, free: 300 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.071e-05/0.09346, allocations: 39.92 kB / 0.5198 GB, free: 260 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.875e-05/0.09353, allocations: 27.97 kB / 0.5199 GB, free: 232 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.935e-05/0.0936, allocations: 32.22 kB / 0.5199 GB, free: 200 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.09361, allocations: 0 / 0.5199 GB, free: 200 kB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001719/0.09379, allocations: 117.5 kB / 0.52 GB, free: 76 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.09381, allocations: 8 kB / 0.52 GB, free: 68 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.09381, allocations: 3.938 kB / 0.52 GB, free: 64 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.09383, allocations: 0 / 0.52 GB, free: 64 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.58e-05/0.09392, allocations: 19.98 kB / 0.52 GB, free: 44 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.09393, allocations: 3.953 kB / 0.52 GB, free: 40 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.081e-05/0.09398, allocations: 8 kB / 0.5201 GB, free: 32 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.09399, allocations: 11.92 kB / 0.5201 GB, free: 20 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 0.0001084/0.0941, allocations: 125.8 kB / 0.5202 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.09414, allocations: 15.81 kB / 0.5202 GB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.09441, allocations: 127 kB / 0.5203 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.09442, allocations: 0 / 0.5203 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.09443, allocations: 0 / 0.5203 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.09444, allocations: 11.94 kB / 0.5203 GB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004822/0.09493, allocations: 415.3 kB / 0.5207 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.09494, allocations: 0 / 0.5207 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.036e-05/0.09502, allocations: 27.92 kB / 0.5208 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.09503, allocations: 0 / 0.5208 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.09504, allocations: 7.953 kB / 0.5208 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.09505, allocations: 0 / 0.5208 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.09505, allocations: 0 / 0.5208 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.0953, allocations: 216.2 kB / 0.521 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.09535, allocations: 92.92 kB / 0.5211 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.09537, allocations: 0 / 0.5211 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.09545, allocations: 15.94 kB / 0.5211 GB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.09549, allocations: 7.938 kB / 0.5211 GB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.0955, allocations: 4 kB / 0.5211 GB, free: 14.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001491/0.09566, allocations: 200.2 kB / 0.5213 GB, free: 14.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.09567, allocations: 0 / 0.5213 GB, free: 14.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002117/0.09588, allocations: 12 kB / 0.5213 GB, free: 14.66 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.0008374/0.09673, allocations: 460.5 kB / 0.5217 GB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.09694, allocations: 75.92 kB / 0.5218 GB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.09695, allocations: 0 / 0.5218 GB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.554e-05/0.09704, allocations: 43.92 kB / 0.5218 GB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.09733, allocations: 17.59 kB / 0.5219 GB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.09778, allocations: 332.3 kB / 0.5222 GB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.09804, allocations: 0.7082 MB / 0.5229 GB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.09809, allocations: 27.36 kB / 0.5229 GB, free: 13.11 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.0981, allocations: 0 / 0.5229 GB, free: 13.11 MB / 362.7 MB Notification: Performance of Templates: time 0.002958/0.1011, allocations: 1.818 MB / 0.5247 GB, free: 11.29 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches