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.0009063/0.0009063, 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.255/1.255, allocations: 226.5 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008144/0.0008145, allocations: 100.8 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1889/0.1889, allocations: 44.84 MB / 392 MB, free: 9.328 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000222/0.000222, allocations: 15.98 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.09118, allocations: 62.95 MB / 0.5153 GB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002309/0.09353, allocations: 1.327 MB / 0.5166 GB, free: 1.422 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.09463, allocations: 0.4952 MB / 0.5171 GB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.521e-05/0.0947, allocations: 0 / 0.5171 GB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.09501, allocations: 91.8 kB / 0.5172 GB, free: 0.832 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.09528, allocations: 95.7 kB / 0.5173 GB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.09561, allocations: 78.61 kB / 0.5174 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.09578, allocations: 79.8 kB / 0.5174 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.0959, allocations: 23.97 kB / 0.5175 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.795e-05/0.09598, allocations: 43.83 kB / 0.5175 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.09609, allocations: 43.83 kB / 0.5175 GB, free: 488 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.09612, allocations: 7.984 kB / 0.5176 GB, free: 480 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.09625, allocations: 35.98 kB / 0.5176 GB, free: 444 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.754e-05/0.09631, allocations: 27.86 kB / 0.5176 GB, free: 416 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.09635, allocations: 37.64 kB / 0.5176 GB, free: 372 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.09653, allocations: 87.86 kB / 0.5177 GB, free: 284 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.09655, allocations: 0 / 0.5177 GB, free: 284 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09655, allocations: 0 / 0.5177 GB, free: 284 kB / 346.7 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.09657, allocations: 0 / 0.5177 GB, free: 284 kB / 346.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.1724/0.269, allocations: 420.4 kB / 0.5181 GB, free: 11.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.269, allocations: 8.688 kB / 0.5181 GB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.2691, allocations: 17.28 kB / 0.5182 GB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.2692, allocations: 199.2 kB / 0.5183 GB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.2693, allocations: 3.906 kB / 0.5184 GB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.2693, allocations: 9.984 kB / 0.5184 GB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.2695, allocations: 65.98 kB / 0.5184 GB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2695, allocations: 5.625 kB / 0.5184 GB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.2695, allocations: 2.125 kB / 0.5184 GB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2695, allocations: 1.594 kB / 0.5184 GB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.2697, allocations: 42.73 kB / 0.5185 GB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.27, allocations: 334.3 kB / 0.5188 GB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.2702, allocations: 64.36 kB / 0.5189 GB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.011e-05/0.2702, allocations: 28.56 kB / 0.5189 GB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.2703, allocations: 5.062 kB / 0.5189 GB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.2703, allocations: 33.83 kB / 0.5189 GB, free: 11.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.2703, allocations: 0 / 0.5189 GB, free: 11.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001011/0.2713, allocations: 336.5 kB / 0.5192 GB, free: 11.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.751e-05/0.2713, allocations: 52.75 kB / 0.5193 GB, free: 11.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.2716, allocations: 237.3 kB / 0.5195 GB, free: 10.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.2716, allocations: 28.73 kB / 0.5195 GB, free: 10.92 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.2716, allocations: 115.9 kB / 0.5197 GB, free: 10.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.2717, allocations: 43.08 kB / 0.5197 GB, free: 10.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.2717, allocations: 3.219 kB / 0.5197 GB, free: 10.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.756e-05/0.2718, allocations: 328.7 kB / 0.52 GB, free: 10.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.2719, allocations: 43.88 kB / 0.5201 GB, free: 10.49 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.052e-05/0.272, allocations: 44.11 kB / 0.5201 GB, free: 10.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.2721, allocations: 42.5 kB / 0.5201 GB, free: 10.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2721, allocations: 0 / 0.5201 GB, free: 10.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002518/0.2723, allocations: 139.7 kB / 0.5203 GB, free: 10.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2724, allocations: 4.625 kB / 0.5203 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2724, allocations: 1.25 kB / 0.5203 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2724, allocations: 8.609 kB / 0.5203 GB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.2725, allocations: 32.78 kB / 0.5203 GB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2725, allocations: 0 / 0.5203 GB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.818e-05/0.2726, allocations: 13.7 kB / 0.5203 GB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.2726, allocations: 3.906 kB / 0.5203 GB, free: 10.43 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 (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 7.481e-05/0.2727, allocations: 135.1 kB / 0.5205 GB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.2727, allocations: 14.81 kB / 0.5205 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.273, allocations: 180 kB / 0.5206 GB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2731, allocations: 8.812 kB / 0.5207 GB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2731, allocations: 2.328 kB / 0.5207 GB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2731, allocations: 4.078 kB / 0.5207 GB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.2736, allocations: 483.4 kB / 0.5211 GB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2736, allocations: 1 kB / 0.5211 GB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.082e-05/0.2737, allocations: 31.17 kB / 0.5212 GB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2737, allocations: 2.062 kB / 0.5212 GB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.2737, allocations: 5.094 kB / 0.5212 GB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2737, allocations: 4.875 kB / 0.5212 GB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2737, allocations: 5.125 kB / 0.5212 GB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.274, allocations: 247.9 kB / 0.5214 GB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.274, allocations: 96.69 kB / 0.5215 GB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.2741, allocations: 3.797 kB / 0.5215 GB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.2741, allocations: 9.203 kB / 0.5215 GB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.2742, allocations: 18.75 kB / 0.5215 GB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.2742, allocations: 4.562 kB / 0.5215 GB, free: 9.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001261/0.2743, allocations: 182 kB / 0.5217 GB, free: 9.582 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2743, allocations: 4.906 kB / 0.5217 GB, free: 9.578 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002261/0.2746, allocations: 26.19 kB / 0.5217 GB, free: 9.574 MB / 346.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.0007846/0.2754, allocations: 445.7 kB / 0.5222 GB, free: 9.363 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.2756, allocations: 101.4 kB / 0.5223 GB, free: 9.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2756, allocations: 0 / 0.5223 GB, free: 9.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.2757, allocations: 58.25 kB / 0.5223 GB, free: 9.324 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.276, allocations: 25.3 kB / 0.5223 GB, free: 9.309 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.2765, allocations: 377.6 kB / 0.5227 GB, free: 9.043 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.2766, allocations: 0.7146 MB / 0.5234 GB, free: 8.348 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.2767, allocations: 18.78 kB / 0.5234 GB, free: 8.34 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2767, allocations: 0 / 0.5234 GB, free: 8.34 MB / 346.7 MB Notification: Performance of Templates: time 0.0034/0.2801, allocations: 2.044 MB / 0.5254 GB, free: 8.102 MB / 346.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/jenkins/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