Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.0013, allocations: 193.9 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 226.5 MB / 244.1 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008757/0.0008757, allocations: 102.6 kB / 296.1 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2925/0.2925, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002379/0.000238, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2612, allocations: 62.96 MB / 0.5165 GB, free: 37.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1012/0.3625, allocations: 89.88 MB / 0.6042 GB, free: 15.51 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/0.3627, allocations: 75.97 kB / 0.6043 GB, free: 15.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01966/0.3824, allocations: 9.286 MB / 0.6134 GB, free: 6.125 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3824, allocations: 0 / 0.6134 GB, free: 6.125 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.3824, allocations: 11.94 kB / 0.6134 GB, free: 6.113 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006534/0.3831, allocations: 0.6574 MB / 0.614 GB, free: 5.402 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3831, allocations: 12.88 kB / 0.6141 GB, free: 5.391 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/0.3832, allocations: 40.47 kB / 0.6141 GB, free: 5.352 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.3837, allocations: 364 kB / 0.6144 GB, free: 4.957 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.3837, allocations: 4.375 kB / 0.6144 GB, free: 4.953 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.3837, allocations: 8.375 kB / 0.6145 GB, free: 4.945 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.3839, allocations: 70.16 kB / 0.6145 GB, free: 4.871 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3839, allocations: 192 / 0.6145 GB, free: 4.871 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3839, allocations: 7.875 kB / 0.6145 GB, free: 4.863 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3839, allocations: 4 kB / 0.6145 GB, free: 4.859 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.384, allocations: 43.97 kB / 0.6146 GB, free: 4.816 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/0.3846, allocations: 460.5 kB / 0.615 GB, free: 4.316 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.3848, allocations: 62.55 kB / 0.6151 GB, free: 4.246 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.67e-05/0.3849, allocations: 24.97 kB / 0.6151 GB, free: 4.219 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.385, allocations: 4 kB / 0.6151 GB, free: 4.215 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.385, allocations: 34.56 kB / 0.6151 GB, free: 4.172 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.385, allocations: 0 / 0.6151 GB, free: 4.172 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001439/0.3864, allocations: 0.5337 MB / 0.6157 GB, free: 3.633 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3865, allocations: 51.41 kB / 0.6157 GB, free: 3.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.3877, allocations: 0.8541 MB / 0.6165 GB, free: 2.707 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.3877, allocations: 29.7 kB / 0.6166 GB, free: 2.672 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.3878, allocations: 224 kB / 0.6168 GB, free: 2.449 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.3879, allocations: 35.45 kB / 0.6168 GB, free: 2.414 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.3879, allocations: 0 / 0.6168 GB, free: 2.414 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.388, allocations: 358.8 kB / 0.6172 GB, free: 2.055 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.3882, allocations: 55.97 kB / 0.6172 GB, free: 2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.3883, allocations: 55.84 kB / 0.6173 GB, free: 1.945 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.3885, allocations: 116.8 kB / 0.6174 GB, free: 1.828 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3885, allocations: 0 / 0.6174 GB, free: 1.828 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003361/0.3889, allocations: 189 kB / 0.6176 GB, free: 1.637 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3889, allocations: 4 kB / 0.6176 GB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3889, allocations: 4 kB / 0.6176 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.3889, allocations: 0 / 0.6176 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.3891, allocations: 35.97 kB / 0.6176 GB, free: 1.594 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3891, allocations: 3.938 kB / 0.6176 GB, free: 1.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.76e-05/0.3892, allocations: 19.94 kB / 0.6176 GB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.3892, allocations: 4.547 kB / 0.6176 GB, free: 1.566 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 (11): * Single equations (assignments): 11 * 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 0.0001797/0.3894, allocations: 213.7 kB / 0.6178 GB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.903e-05/0.3894, allocations: 51.44 kB / 0.6179 GB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003866/0.3898, allocations: 216.1 kB / 0.6181 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3899, allocations: 4 kB / 0.6181 GB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3899, allocations: 0 / 0.6181 GB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3899, allocations: 11.92 kB / 0.6181 GB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009202/0.3908, allocations: 0.7069 MB / 0.6188 GB, free: 304 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3908, allocations: 4 kB / 0.6188 GB, free: 300 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.3909, allocations: 35.91 kB / 0.6188 GB, free: 264 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3909, allocations: 0 / 0.6188 GB, free: 264 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.391, allocations: 8.062 kB / 0.6188 GB, free: 256 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.391, allocations: 7.938 kB / 0.6188 GB, free: 248 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.391, allocations: 3.938 kB / 0.6188 GB, free: 244 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.3914, allocations: 292.8 kB / 0.6191 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.3915, allocations: 168.5 kB / 0.6193 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.3916, allocations: 4 kB / 0.6193 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.3917, allocations: 15.98 kB / 0.6193 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.3918, allocations: 19.91 kB / 0.6193 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-06/0.3918, allocations: 4 kB / 0.6193 GB, free: 15.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006528/0.3924, allocations: 0.6394 MB / 0.6199 GB, free: 15.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3924, allocations: 0 / 0.6199 GB, free: 15.07 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003164/0.3928, allocations: 75.94 kB / 0.62 GB, free: 14.99 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008915/0.3936, allocations: 464 kB / 0.6205 GB, free: 14.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.394, allocations: 119.9 kB / 0.6206 GB, free: 14.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.394, allocations: 0 / 0.6206 GB, free: 14.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.3941, allocations: 63.91 kB / 0.6206 GB, free: 14.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.3945, allocations: 41.5 kB / 0.6207 GB, free: 14.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.3958, allocations: 1.028 MB / 0.6217 GB, free: 13.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.3962, allocations: 0.8379 MB / 0.6225 GB, free: 12.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.084e-05/0.3963, allocations: 27.67 kB / 0.6225 GB, free: 12.52 MB / 442.7 MB Notification: Performance of SimCode: time 4.1e-07/0.3963, allocations: 0 / 0.6225 GB, free: 12.52 MB / 442.7 MB Notification: Performance of Templates: time 0.007613/0.4039, allocations: 4.662 MB / 0.6271 GB, free: 7.844 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches