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.00125/0.00125, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 226.5 MB / 244.1 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007305/0.0007307, allocations: 97.05 kB / 296.1 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2993/0.2993, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002829/0.000283, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2695, allocations: 62.96 MB / 0.5165 GB, free: 37.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1059/0.3754, allocations: 89.38 MB / 0.6038 GB, free: 32 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/0.3757, allocations: 76.05 kB / 0.6038 GB, free: 15.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01324/0.3889, allocations: 5.338 MB / 0.609 GB, free: 10.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.389, allocations: 0 / 0.609 GB, free: 10.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.389, allocations: 4 kB / 0.609 GB, free: 10.61 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004972/0.3895, allocations: 467 kB / 0.6095 GB, free: 10.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3895, allocations: 8.875 kB / 0.6095 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.3896, allocations: 16.75 kB / 0.6095 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.3899, allocations: 224.5 kB / 0.6097 GB, free: 9.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.3899, allocations: 4.375 kB / 0.6097 GB, free: 9.816 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.3899, allocations: 8.312 kB / 0.6097 GB, free: 9.809 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.39, allocations: 54.23 kB / 0.6098 GB, free: 9.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3901, allocations: 192 / 0.6098 GB, free: 9.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.3901, allocations: 3.938 kB / 0.6098 GB, free: 9.746 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3901, allocations: 7.938 kB / 0.6098 GB, free: 9.738 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.817e-05/0.3902, allocations: 31.97 kB / 0.6098 GB, free: 9.707 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.3906, allocations: 308.8 kB / 0.6101 GB, free: 9.355 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.916e-05/0.3907, allocations: 46.5 kB / 0.6102 GB, free: 9.301 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.973e-05/0.3908, allocations: 20.86 kB / 0.6102 GB, free: 9.277 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.3908, allocations: 4 kB / 0.6102 GB, free: 9.273 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.3908, allocations: 34.64 kB / 0.6102 GB, free: 9.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3908, allocations: 0 / 0.6102 GB, free: 9.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008529/0.3917, allocations: 254.1 kB / 0.6105 GB, free: 8.977 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.3917, allocations: 55.41 kB / 0.6105 GB, free: 8.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.392, allocations: 271.8 kB / 0.6108 GB, free: 8.633 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.392, allocations: 25.7 kB / 0.6108 GB, free: 8.602 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.3921, allocations: 116 kB / 0.6109 GB, free: 8.484 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.3921, allocations: 27.72 kB / 0.6109 GB, free: 8.457 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.3921, allocations: 4 kB / 0.611 GB, free: 8.453 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.3922, allocations: 330.8 kB / 0.6113 GB, free: 8.121 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.3923, allocations: 35.97 kB / 0.6113 GB, free: 8.086 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.254e-05/0.3924, allocations: 27.92 kB / 0.6113 GB, free: 8.059 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.3925, allocations: 72.77 kB / 0.6114 GB, free: 7.984 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3925, allocations: 4 kB / 0.6114 GB, free: 7.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002/0.3928, allocations: 109.5 kB / 0.6115 GB, free: 7.867 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3928, allocations: 4 kB / 0.6115 GB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3928, allocations: 0 / 0.6115 GB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3928, allocations: 432 / 0.6115 GB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.496e-05/0.3929, allocations: 19.98 kB / 0.6115 GB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3929, allocations: 4 kB / 0.6115 GB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.393, allocations: 11.98 kB / 0.6115 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.393, allocations: 0 / 0.6115 GB, free: 7.828 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 (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 9.858e-05/0.3931, allocations: 141.7 kB / 0.6117 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.3931, allocations: 15.81 kB / 0.6117 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.3934, allocations: 139.3 kB / 0.6118 GB, free: 7.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3934, allocations: 4 kB / 0.6118 GB, free: 7.516 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3934, allocations: 0 / 0.6118 GB, free: 7.516 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3934, allocations: 4 kB / 0.6118 GB, free: 7.512 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005161/0.394, allocations: 443.2 kB / 0.6123 GB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.394, allocations: 0 / 0.6123 GB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.637e-05/0.394, allocations: 23.92 kB / 0.6123 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.394, allocations: 4 kB / 0.6123 GB, free: 6.992 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.3941, allocations: 7.875 kB / 0.6123 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3941, allocations: 0 / 0.6123 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3941, allocations: 0 / 0.6123 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.3943, allocations: 224.2 kB / 0.6125 GB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.3944, allocations: 96.91 kB / 0.6126 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.3944, allocations: 11.94 kB / 0.6126 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.3945, allocations: 8 kB / 0.6126 GB, free: 6.613 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.3946, allocations: 7.984 kB / 0.6126 GB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.3946, allocations: 4 kB / 0.6126 GB, free: 6.602 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001747/0.3947, allocations: 209.4 kB / 0.6128 GB, free: 6.398 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3948, allocations: 0 / 0.6128 GB, free: 6.398 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002538/0.395, allocations: 31.88 kB / 0.6129 GB, free: 6.367 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 (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.0009483/0.396, allocations: 459.5 kB / 0.6133 GB, free: 6.078 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.3962, allocations: 75.95 kB / 0.6134 GB, free: 6.004 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3962, allocations: 0 / 0.6134 GB, free: 6.004 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.3963, allocations: 35.92 kB / 0.6134 GB, free: 5.969 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.3966, allocations: 19.98 kB / 0.6134 GB, free: 5.949 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.3972, allocations: 373.4 kB / 0.6138 GB, free: 5.547 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.3974, allocations: 0.7266 MB / 0.6145 GB, free: 4.797 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/0.3975, allocations: 15.44 kB / 0.6145 GB, free: 4.781 MB / 426.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3975, allocations: 3.938 kB / 0.6145 GB, free: 4.777 MB / 426.7 MB Notification: Performance of Templates: time 0.003677/0.4012, allocations: 1.996 MB / 0.6165 GB, free: 2.781 MB / 426.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/jenkins1/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