Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001364, allocations: 198 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.416/1.416, allocations: 226.5 MB / 244.1 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007929/0.0007929, allocations: 107.4 kB / 296.1 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3023/0.3023, allocations: 44.82 MB / 393 MB, free: 35.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002682/0.0002683, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2584, allocations: 62.96 MB / 0.5165 GB, free: 37.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09609/0.3545, allocations: 89.39 MB / 0.6038 GB, free: 15.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.3547, allocations: 71.95 kB / 0.6038 GB, free: 15.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01159/0.3663, allocations: 4.575 MB / 0.6083 GB, free: 11.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3664, allocations: 0 / 0.6083 GB, free: 11.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.3664, allocations: 3.938 kB / 0.6083 GB, free: 11.33 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003802/0.3668, allocations: 415.4 kB / 0.6087 GB, free: 10.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3668, allocations: 8.031 kB / 0.6087 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.3669, allocations: 8.844 kB / 0.6087 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.3671, allocations: 208 kB / 0.6089 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3671, allocations: 8.375 kB / 0.6089 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.3671, allocations: 4.312 kB / 0.6089 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.3672, allocations: 46.25 kB / 0.609 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3672, allocations: 4.188 kB / 0.609 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3673, allocations: 7.938 kB / 0.609 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.3673, allocations: 4 kB / 0.609 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.741e-05/0.3674, allocations: 27.97 kB / 0.609 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.3677, allocations: 280.9 kB / 0.6093 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.3679, allocations: 54.48 kB / 0.6093 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.368, allocations: 16.86 kB / 0.6093 GB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.368, allocations: 0 / 0.6093 GB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.368, allocations: 30.56 kB / 0.6094 GB, free: 10.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.368, allocations: 0 / 0.6094 GB, free: 10.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005185/0.3685, allocations: 177.2 kB / 0.6095 GB, free: 9.883 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.3686, allocations: 59.41 kB / 0.6096 GB, free: 9.812 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.3687, allocations: 163.7 kB / 0.6098 GB, free: 9.648 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.3687, allocations: 25.7 kB / 0.6098 GB, free: 9.617 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.3688, allocations: 96.12 kB / 0.6099 GB, free: 9.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.3688, allocations: 15.75 kB / 0.6099 GB, free: 9.504 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.3688, allocations: 4 kB / 0.6099 GB, free: 9.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.19e-05/0.3689, allocations: 326.7 kB / 0.6102 GB, free: 9.172 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.056e-05/0.369, allocations: 27.98 kB / 0.6102 GB, free: 9.145 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.15e-05/0.3691, allocations: 23.98 kB / 0.6103 GB, free: 9.121 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.3692, allocations: 52.83 kB / 0.6103 GB, free: 9.066 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.3692, allocations: 4 kB / 0.6103 GB, free: 9.062 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001811/0.3694, allocations: 97.56 kB / 0.6104 GB, free: 8.961 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.3694, allocations: 4 kB / 0.6104 GB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.3694, allocations: 0 / 0.6104 GB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.3694, allocations: 0 / 0.6104 GB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.225e-05/0.3695, allocations: 19.92 kB / 0.6104 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3695, allocations: 0 / 0.6104 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.3696, allocations: 16 kB / 0.6104 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.3696, allocations: 0 / 0.6104 GB, free: 8.922 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 (5): * Single equations (assignments): 5 * 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 6.996e-05/0.3697, allocations: 125.8 kB / 0.6106 GB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.3697, allocations: 7.906 kB / 0.6106 GB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.3699, allocations: 102.2 kB / 0.6107 GB, free: 8.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3699, allocations: 7.922 kB / 0.6107 GB, free: 8.672 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.3699, allocations: 8 kB / 0.6107 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.3699, allocations: 288 / 0.6107 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.3704, allocations: 371.6 kB / 0.611 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3704, allocations: 4 kB / 0.611 GB, free: 8.242 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.3704, allocations: 11.98 kB / 0.6111 GB, free: 8.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3704, allocations: 7.984 kB / 0.6111 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3704, allocations: 4 kB / 0.6111 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3705, allocations: 3.938 kB / 0.6111 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3705, allocations: 0 / 0.6111 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.3707, allocations: 199.3 kB / 0.6113 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.3707, allocations: 85.02 kB / 0.6113 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.3708, allocations: 4 kB / 0.6113 GB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.035e-05/0.3708, allocations: 11.92 kB / 0.6114 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.3709, allocations: 4 kB / 0.6114 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.3709, allocations: 0 / 0.6114 GB, free: 7.883 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.126e-05/0.371, allocations: 127 kB / 0.6115 GB, free: 7.762 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.371, allocations: 0 / 0.6115 GB, free: 7.762 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.3712, allocations: 27.98 kB / 0.6115 GB, free: 7.734 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0007639/0.372, allocations: 397.9 kB / 0.6119 GB, free: 7.477 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.3722, allocations: 63.91 kB / 0.6119 GB, free: 7.414 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3722, allocations: 0 / 0.6119 GB, free: 7.414 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.478e-05/0.3723, allocations: 27.98 kB / 0.612 GB, free: 7.387 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.3726, allocations: 18.17 kB / 0.612 GB, free: 7.371 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.3729, allocations: 235.3 kB / 0.6122 GB, free: 7.102 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.3732, allocations: 0.6965 MB / 0.6129 GB, free: 6.379 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.3732, allocations: 11.44 kB / 0.6129 GB, free: 6.371 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3732, allocations: 0 / 0.6129 GB, free: 6.371 MB / 426.7 MB Notification: Performance of Templates: time 0.002624/0.3759, allocations: 1.502 MB / 0.6144 GB, free: 4.875 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches