Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001153/0.001157, allocations: 202.2 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.283/1.283, allocations: 226.6 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.0006832/0.0006832, allocations: 93.25 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1776/0.1776, allocations: 44.84 MB / 392 MB, free: 9.348 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002275/0.0002276, allocations: 8 kB / 464.7 MB, free: 49.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09212/0.09236, allocations: 62.96 MB / 0.5153 GB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.001925/0.09432, allocations: 1.307 MB / 0.5166 GB, free: 1.465 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009173/0.09527, allocations: 491.2 kB / 0.5171 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.09533, allocations: 4 kB / 0.5171 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.09565, allocations: 123.8 kB / 0.5172 GB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.09591, allocations: 103.8 kB / 0.5173 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.09616, allocations: 78.58 kB / 0.5174 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.09631, allocations: 83.73 kB / 0.5174 GB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.294e-05/0.0964, allocations: 23.97 kB / 0.5175 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.956e-05/0.09647, allocations: 35.91 kB / 0.5175 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.09659, allocations: 63.78 kB / 0.5176 GB, free: 488 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.09661, allocations: 4 kB / 0.5176 GB, free: 484 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.23e-05/0.09671, allocations: 47.91 kB / 0.5176 GB, free: 436 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.408e-05/0.09676, allocations: 19.92 kB / 0.5176 GB, free: 416 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.09682, allocations: 41.64 kB / 0.5177 GB, free: 368 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.09696, allocations: 87.8 kB / 0.5178 GB, free: 280 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.09698, allocations: 0 / 0.5178 GB, free: 280 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09699, allocations: 4 kB / 0.5178 GB, free: 276 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.097, allocations: 0 / 0.5178 GB, free: 276 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.1778/0.2748, allocations: 416.6 kB / 0.5182 GB, free: 11.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2748, allocations: 9 kB / 0.5182 GB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.2749, allocations: 14.64 kB / 0.5182 GB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.2751, allocations: 209 kB / 0.5184 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.2751, allocations: 2.625 kB / 0.5184 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.2751, allocations: 4.562 kB / 0.5184 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.2753, allocations: 56.3 kB / 0.5184 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.2753, allocations: 0.9375 kB / 0.5184 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.2753, allocations: 0.75 kB / 0.5184 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2753, allocations: 1.641 kB / 0.5184 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.2754, allocations: 28.77 kB / 0.5185 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.2758, allocations: 303.9 kB / 0.5188 GB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.2759, allocations: 45.23 kB / 0.5188 GB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.2759, allocations: 20.66 kB / 0.5188 GB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.276, allocations: 5.656 kB / 0.5188 GB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.276, allocations: 32.91 kB / 0.5189 GB, free: 11.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.276, allocations: 0 / 0.5189 GB, free: 11.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008747/0.2769, allocations: 255.2 kB / 0.5191 GB, free: 11.17 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.2769, allocations: 58.45 kB / 0.5192 GB, free: 11.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.2772, allocations: 283.9 kB / 0.5194 GB, free: 10.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.2772, allocations: 28.59 kB / 0.5195 GB, free: 10.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.2772, allocations: 117.9 kB / 0.5196 GB, free: 10.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.2773, allocations: 24.3 kB / 0.5196 GB, free: 10.85 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.2773, allocations: 2.156 kB / 0.5196 GB, free: 10.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.2773, allocations: 327.3 kB / 0.5199 GB, free: 10.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.179e-05/0.2774, allocations: 26.73 kB / 0.5199 GB, free: 10.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.23e-05/0.2775, allocations: 32.12 kB / 0.52 GB, free: 10.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.3e-05/0.2776, allocations: 30.47 kB / 0.52 GB, free: 10.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.2776, allocations: 0 / 0.52 GB, free: 10.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002101/0.2778, allocations: 118.5 kB / 0.5201 GB, free: 10.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2778, allocations: 5.734 kB / 0.5201 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2778, allocations: 0 / 0.5201 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.2779, allocations: 1.062 kB / 0.5201 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.984e-05/0.278, allocations: 18.3 kB / 0.5201 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.278, allocations: 4.734 kB / 0.5201 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.278, allocations: 13.5 kB / 0.5201 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.278, allocations: 2.734 kB / 0.5201 GB, free: 10.48 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 (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 7.581e-05/0.2781, allocations: 140.8 kB / 0.5203 GB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.2782, allocations: 16.28 kB / 0.5203 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.2784, allocations: 132.1 kB / 0.5204 GB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.2784, allocations: 1.969 kB / 0.5204 GB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.2784, allocations: 4 kB / 0.5204 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.2785, allocations: 4.469 kB / 0.5204 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.2789, allocations: 422.5 kB / 0.5208 GB, free: 10 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2789, allocations: 0 / 0.5208 GB, free: 10 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.89e-05/0.279, allocations: 23.19 kB / 0.5209 GB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.279, allocations: 5.531 kB / 0.5209 GB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.279, allocations: 11.55 kB / 0.5209 GB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.279, allocations: 0 / 0.5209 GB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.279, allocations: 5.734 kB / 0.5209 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.2793, allocations: 213.5 kB / 0.5211 GB, free: 9.836 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.2793, allocations: 92.27 kB / 0.5212 GB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.2793, allocations: 4.188 kB / 0.5212 GB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.2794, allocations: 11.45 kB / 0.5212 GB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.2794, allocations: 6.672 kB / 0.5212 GB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.2795, allocations: 4.031 kB / 0.5212 GB, free: 9.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001799/0.2796, allocations: 213 kB / 0.5214 GB, free: 9.652 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2797, allocations: 0 / 0.5214 GB, free: 9.652 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002234/0.2799, allocations: 18.88 kB / 0.5214 GB, free: 9.652 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 (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.000803/0.2807, allocations: 456.6 kB / 0.5219 GB, free: 9.441 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.2809, allocations: 67.8 kB / 0.5219 GB, free: 9.441 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2809, allocations: 1.219 kB / 0.5219 GB, free: 9.441 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.838e-05/0.281, allocations: 45.67 kB / 0.522 GB, free: 9.434 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.2813, allocations: 18.81 kB / 0.522 GB, free: 9.434 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.2818, allocations: 353.8 kB / 0.5223 GB, free: 9.215 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.2819, allocations: 0.716 MB / 0.523 GB, free: 8.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.282, allocations: 20.67 kB / 0.523 GB, free: 8.508 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.282, allocations: 0 / 0.523 GB, free: 8.508 MB / 346.7 MB Notification: Performance of Templates: time 0.003334/0.2853, allocations: 1.87 MB / 0.5249 GB, free: 8.289 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches