Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009495/0.0009496, allocations: 193.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 226.5 MB / 244.1 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007283/0.0007285, allocations: 103.9 kB / 296.1 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3021/0.3021, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002546/0.0002546, allocations: 11.98 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2728, allocations: 62.95 MB / 0.5165 GB, free: 37.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1013/0.3741, allocations: 89.38 MB / 0.6038 GB, free: 12 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.3744, allocations: 76.05 kB / 0.6038 GB, free: 15.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01268/0.3871, allocations: 5.114 MB / 0.6088 GB, free: 10.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3871, allocations: 0 / 0.6088 GB, free: 10.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.3871, allocations: 8 kB / 0.6088 GB, free: 10.81 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.0004101/0.3876, allocations: 431.2 kB / 0.6092 GB, free: 10.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.3876, allocations: 8.875 kB / 0.6092 GB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.3876, allocations: 12.75 kB / 0.6093 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.3879, allocations: 220.8 kB / 0.6095 GB, free: 10.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.3879, allocations: 384 / 0.6095 GB, free: 10.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.3879, allocations: 8.375 kB / 0.6095 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.388, allocations: 46.25 kB / 0.6095 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3881, allocations: 8.172 kB / 0.6095 GB, free: 9.992 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3881, allocations: 3.938 kB / 0.6095 GB, free: 9.988 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.3881, allocations: 7.938 kB / 0.6095 GB, free: 9.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.798e-05/0.3882, allocations: 27.98 kB / 0.6096 GB, free: 9.953 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.3885, allocations: 300.7 kB / 0.6099 GB, free: 9.609 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.55e-05/0.3886, allocations: 54.5 kB / 0.6099 GB, free: 9.547 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.3887, allocations: 16.94 kB / 0.6099 GB, free: 9.527 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.3887, allocations: 0 / 0.6099 GB, free: 9.527 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.3887, allocations: 34.56 kB / 0.61 GB, free: 9.484 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3887, allocations: 4 kB / 0.61 GB, free: 9.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007853/0.3895, allocations: 246.6 kB / 0.6102 GB, free: 9.234 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.3896, allocations: 51.41 kB / 0.6102 GB, free: 9.172 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.3898, allocations: 216.1 kB / 0.6105 GB, free: 8.953 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.3898, allocations: 25.7 kB / 0.6105 GB, free: 8.922 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.3898, allocations: 112 kB / 0.6106 GB, free: 8.809 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.3899, allocations: 19.72 kB / 0.6106 GB, free: 8.789 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-06/0.3899, allocations: 0 / 0.6106 GB, free: 8.789 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.693e-05/0.39, allocations: 330.8 kB / 0.6109 GB, free: 8.457 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.59e-05/0.3901, allocations: 27.97 kB / 0.6109 GB, free: 8.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.182e-05/0.3901, allocations: 31.98 kB / 0.611 GB, free: 8.398 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.3903, allocations: 84.98 kB / 0.6111 GB, free: 8.312 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3903, allocations: 0 / 0.6111 GB, free: 8.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001947/0.3905, allocations: 109.5 kB / 0.6112 GB, free: 8.199 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.3905, allocations: 10.28 kB / 0.6112 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.3905, allocations: 0 / 0.6112 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.3905, allocations: 4 kB / 0.6112 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.701e-05/0.3907, allocations: 19.98 kB / 0.6112 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.3907, allocations: 0 / 0.6112 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.3907, allocations: 11.94 kB / 0.6112 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.3907, allocations: 3.984 kB / 0.6112 GB, free: 8.152 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 8.289e-05/0.3908, allocations: 133.7 kB / 0.6113 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.3909, allocations: 7.906 kB / 0.6113 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.3911, allocations: 127 kB / 0.6115 GB, free: 7.875 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3911, allocations: 0 / 0.6115 GB, free: 7.875 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3911, allocations: 0 / 0.6115 GB, free: 7.875 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3911, allocations: 4 kB / 0.6115 GB, free: 7.871 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.3916, allocations: 427.2 kB / 0.6119 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3916, allocations: 0 / 0.6119 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.686e-05/0.3917, allocations: 23.92 kB / 0.6119 GB, free: 7.371 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3917, allocations: 4 kB / 0.6119 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3917, allocations: 11.97 kB / 0.6119 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3917, allocations: 0 / 0.6119 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3918, allocations: 0 / 0.6119 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.392, allocations: 212.5 kB / 0.6121 GB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.3921, allocations: 100.9 kB / 0.6122 GB, free: 7.012 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.3921, allocations: 7.938 kB / 0.6122 GB, free: 7.004 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.3922, allocations: 8 kB / 0.6122 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.3922, allocations: 7.984 kB / 0.6122 GB, free: 6.988 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.3922, allocations: 0 / 0.6122 GB, free: 6.988 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001249/0.3924, allocations: 159.2 kB / 0.6124 GB, free: 6.832 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3924, allocations: 0 / 0.6124 GB, free: 6.832 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00026/0.3926, allocations: 35.98 kB / 0.6124 GB, free: 6.797 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.0009286/0.3936, allocations: 463.5 kB / 0.6129 GB, free: 6.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.3938, allocations: 67.97 kB / 0.6129 GB, free: 6.434 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3938, allocations: 0 / 0.6129 GB, free: 6.434 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.486e-05/0.3939, allocations: 43.91 kB / 0.613 GB, free: 6.391 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.3942, allocations: 13.02 kB / 0.613 GB, free: 6.379 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.3946, allocations: 312 kB / 0.6133 GB, free: 6.039 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.3949, allocations: 0.7122 MB / 0.614 GB, free: 5.301 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.3949, allocations: 19.42 kB / 0.614 GB, free: 5.281 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3949, allocations: 3.938 kB / 0.614 GB, free: 5.277 MB / 426.7 MB Notification: Performance of Templates: time 0.003193/0.3981, allocations: 1.802 MB / 0.6158 GB, free: 3.469 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches