Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 195 kB / 16.79 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.351/1.351, allocations: 226.5 MB / 244.1 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007862/0.0007863, allocations: 98.67 kB / 296.1 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2948/0.2948, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002516/0.0002517, allocations: 11.98 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2792, allocations: 62.95 MB / 0.5165 GB, free: 37.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.3804, allocations: 89.49 MB / 0.6039 GB, free: 15.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.3806, allocations: 75.95 kB / 0.6039 GB, free: 15.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01316/0.3938, allocations: 5.184 MB / 0.609 GB, free: 10.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3939, allocations: 0 / 0.609 GB, free: 10.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.3939, allocations: 8 kB / 0.609 GB, free: 10.64 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.0005138/0.3944, allocations: 443.1 kB / 0.6094 GB, free: 10.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3944, allocations: 12.03 kB / 0.6094 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.3945, allocations: 8.844 kB / 0.6095 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.3948, allocations: 214.9 kB / 0.6097 GB, free: 9.891 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.3948, allocations: 384 / 0.6097 GB, free: 9.891 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.3948, allocations: 8.359 kB / 0.6097 GB, free: 9.883 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.3949, allocations: 62.23 kB / 0.6097 GB, free: 9.816 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.395, allocations: 192 / 0.6097 GB, free: 9.816 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.395, allocations: 3.938 kB / 0.6097 GB, free: 9.812 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.395, allocations: 0 / 0.6097 GB, free: 9.812 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.224e-05/0.3951, allocations: 31.97 kB / 0.6098 GB, free: 9.781 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.3955, allocations: 324.6 kB / 0.6101 GB, free: 9.414 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.3956, allocations: 46.56 kB / 0.6101 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.019e-05/0.3957, allocations: 20.94 kB / 0.6101 GB, free: 9.336 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3957, allocations: 0 / 0.6101 GB, free: 9.336 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.3957, allocations: 38.56 kB / 0.6102 GB, free: 9.289 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3957, allocations: 4 kB / 0.6102 GB, free: 9.285 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008661/0.3966, allocations: 262.2 kB / 0.6104 GB, free: 9.023 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.3966, allocations: 59.34 kB / 0.6105 GB, free: 8.953 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.3969, allocations: 222.6 kB / 0.6107 GB, free: 8.723 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.3969, allocations: 33.7 kB / 0.6107 GB, free: 8.684 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.3969, allocations: 112.1 kB / 0.6108 GB, free: 8.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.397, allocations: 23.69 kB / 0.6109 GB, free: 8.547 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.397, allocations: 4 kB / 0.6109 GB, free: 8.543 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3971, allocations: 326.8 kB / 0.6112 GB, free: 8.215 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.35e-05/0.3972, allocations: 31.98 kB / 0.6112 GB, free: 8.184 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-05/0.3973, allocations: 39.97 kB / 0.6112 GB, free: 8.145 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.3974, allocations: 84.98 kB / 0.6113 GB, free: 8.059 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3974, allocations: 0 / 0.6113 GB, free: 8.059 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002169/0.3977, allocations: 129.4 kB / 0.6114 GB, free: 7.926 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3977, allocations: 4 kB / 0.6115 GB, free: 7.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3977, allocations: 0 / 0.6115 GB, free: 7.922 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3977, allocations: 0 / 0.6115 GB, free: 7.922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.835e-05/0.3978, allocations: 20.41 kB / 0.6115 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.3978, allocations: 0 / 0.6115 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.3979, allocations: 8 kB / 0.6115 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.3979, allocations: 4 kB / 0.6115 GB, free: 7.891 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.505e-05/0.398, allocations: 141.7 kB / 0.6116 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.398, allocations: 11.81 kB / 0.6116 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.3983, allocations: 147 kB / 0.6118 GB, free: 7.582 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3983, allocations: 3.984 kB / 0.6118 GB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3983, allocations: 4 kB / 0.6118 GB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.3984, allocations: 0 / 0.6118 GB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005217/0.3989, allocations: 447.2 kB / 0.6122 GB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3989, allocations: 32 / 0.6122 GB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/0.399, allocations: 23.98 kB / 0.6122 GB, free: 7.055 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.399, allocations: 0 / 0.6122 GB, free: 7.055 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.399, allocations: 3.938 kB / 0.6122 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.399, allocations: 4 kB / 0.6122 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.399, allocations: 0 / 0.6122 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.3993, allocations: 228.3 kB / 0.6125 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.3993, allocations: 96.92 kB / 0.6125 GB, free: 6.691 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.3994, allocations: 3.938 kB / 0.6125 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.3994, allocations: 15.98 kB / 0.6126 GB, free: 6.672 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.3995, allocations: 4 kB / 0.6126 GB, free: 6.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.3995, allocations: 0 / 0.6126 GB, free: 6.668 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001438/0.3996, allocations: 176.3 kB / 0.6127 GB, free: 6.496 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3997, allocations: 0 / 0.6127 GB, free: 6.496 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.3999, allocations: 31.98 kB / 0.6128 GB, free: 6.465 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.0009646/0.4009, allocations: 469 kB / 0.6132 GB, free: 6.168 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002548/0.4012, allocations: 83.89 kB / 0.6133 GB, free: 6.086 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4012, allocations: 0 / 0.6133 GB, free: 6.086 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.052e-05/0.4013, allocations: 43.98 kB / 0.6133 GB, free: 6.043 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.4016, allocations: 19.5 kB / 0.6134 GB, free: 6.027 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005282/0.4021, allocations: 343.7 kB / 0.6137 GB, free: 5.656 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.4024, allocations: 0.716 MB / 0.6144 GB, free: 4.914 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.4025, allocations: 11.44 kB / 0.6144 GB, free: 4.902 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4025, allocations: 0 / 0.6144 GB, free: 4.902 MB / 426.7 MB Notification: Performance of Templates: time 0.003381/0.4059, allocations: 1.916 MB / 0.6163 GB, free: 2.984 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches