Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001306/0.001306, allocations: 198.5 kB / 16.78 MB, free: 4.895 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 226.5 MB / 244.1 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007299/0.0007302, allocations: 97.67 kB / 296.1 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3127/0.3127, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002678/0.0002678, allocations: 8 kB / 465.9 MB, free: 12.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2719, allocations: 62.96 MB / 0.5165 GB, free: 37.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.103/0.3749, allocations: 89.38 MB / 0.6038 GB, free: 32 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.3752, allocations: 76.05 kB / 0.6038 GB, free: 15.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0133/0.3886, allocations: 5.118 MB / 0.6088 GB, free: 10.83 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.808e-06/0.3886, allocations: 0 / 0.6088 GB, free: 10.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.3886, allocations: 7.938 kB / 0.6088 GB, free: 10.82 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.0004737/0.3891, allocations: 427.3 kB / 0.6092 GB, free: 10.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3891, allocations: 8.875 kB / 0.6092 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.3892, allocations: 16.75 kB / 0.6093 GB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.3895, allocations: 212.8 kB / 0.6095 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-06/0.3895, allocations: 384 / 0.6095 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.3895, allocations: 12.38 kB / 0.6095 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.3897, allocations: 54.17 kB / 0.6095 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/0.3897, allocations: 4.188 kB / 0.6095 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3897, allocations: 7.938 kB / 0.6095 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3897, allocations: 0 / 0.6095 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.3899, allocations: 27.98 kB / 0.6096 GB, free: 9.973 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.3903, allocations: 300.7 kB / 0.6099 GB, free: 9.629 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.798e-05/0.3904, allocations: 54.48 kB / 0.6099 GB, free: 9.566 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.524e-05/0.3904, allocations: 16.86 kB / 0.6099 GB, free: 9.547 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.3904, allocations: 0 / 0.6099 GB, free: 9.547 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.3905, allocations: 42.5 kB / 0.61 GB, free: 9.496 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3905, allocations: 0 / 0.61 GB, free: 9.496 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007993/0.3913, allocations: 246.4 kB / 0.6102 GB, free: 9.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.3913, allocations: 51.41 kB / 0.6102 GB, free: 9.188 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.3915, allocations: 212.1 kB / 0.6105 GB, free: 8.973 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.3916, allocations: 29.7 kB / 0.6105 GB, free: 8.938 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.3916, allocations: 112 kB / 0.6106 GB, free: 8.824 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.3917, allocations: 23.7 kB / 0.6106 GB, free: 8.801 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.3917, allocations: 0 / 0.6106 GB, free: 8.801 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3918, allocations: 326.8 kB / 0.6109 GB, free: 8.473 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.628e-05/0.3919, allocations: 27.98 kB / 0.6109 GB, free: 8.445 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.957e-05/0.3919, allocations: 39.86 kB / 0.611 GB, free: 8.406 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.3921, allocations: 68.89 kB / 0.611 GB, free: 8.336 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3921, allocations: 0 / 0.611 GB, free: 8.336 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001984/0.3923, allocations: 113.9 kB / 0.6112 GB, free: 8.219 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.3923, allocations: 4 kB / 0.6112 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3923, allocations: 0 / 0.6112 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.3924, allocations: 0 / 0.6112 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.434e-05/0.3925, allocations: 19.98 kB / 0.6112 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.391e-06/0.3925, allocations: 0 / 0.6112 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.3925, allocations: 19.86 kB / 0.6112 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.3925, allocations: 4 kB / 0.6112 GB, free: 8.172 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.984e-05/0.3926, allocations: 129.8 kB / 0.6113 GB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.3927, allocations: 15.88 kB / 0.6113 GB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.3929, allocations: 123.3 kB / 0.6115 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3929, allocations: 4 kB / 0.6115 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.393, allocations: 0 / 0.6115 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.393, allocations: 3.984 kB / 0.6115 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004916/0.3935, allocations: 427.2 kB / 0.6119 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3935, allocations: 3.984 kB / 0.6119 GB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.703e-05/0.3935, allocations: 23.94 kB / 0.6119 GB, free: 7.383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3936, allocations: 0 / 0.6119 GB, free: 7.383 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.3936, allocations: 7.938 kB / 0.6119 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3936, allocations: 3.984 kB / 0.6119 GB, free: 7.371 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3936, allocations: 0 / 0.6119 GB, free: 7.371 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.3939, allocations: 208.3 kB / 0.6121 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.3939, allocations: 100.9 kB / 0.6122 GB, free: 7.031 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.3939, allocations: 3.938 kB / 0.6122 GB, free: 7.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.394, allocations: 11.98 kB / 0.6122 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.3941, allocations: 11.94 kB / 0.6122 GB, free: 7.004 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.3941, allocations: 4 kB / 0.6122 GB, free: 7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.3942, allocations: 159.2 kB / 0.6124 GB, free: 6.844 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3942, allocations: 3.938 kB / 0.6124 GB, free: 6.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002368/0.3945, allocations: 31.94 kB / 0.6124 GB, free: 6.809 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.0008825/0.3954, allocations: 459.1 kB / 0.6129 GB, free: 6.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.3956, allocations: 67.95 kB / 0.6129 GB, free: 6.453 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3956, allocations: 3.938 kB / 0.6129 GB, free: 6.449 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.438e-05/0.3957, allocations: 39.98 kB / 0.613 GB, free: 6.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.3959, allocations: 20.23 kB / 0.613 GB, free: 6.391 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004546/0.3964, allocations: 312 kB / 0.6133 GB, free: 6.051 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.3967, allocations: 0.7121 MB / 0.614 GB, free: 5.312 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.3967, allocations: 15.44 kB / 0.614 GB, free: 5.297 MB / 426.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3967, allocations: 0 / 0.614 GB, free: 5.297 MB / 426.7 MB Notification: Performance of Templates: time 0.003011/0.3997, allocations: 1.802 MB / 0.6158 GB, free: 3.488 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches