Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,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.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009432/0.0009431, allocations: 190.1 kB / 16.78 MB, free: 5.016 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, 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.0009369/0.0009367, allocations: 101.3 kB / 296.1 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3084/0.3084, allocations: 44.83 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002644/0.0002645, allocations: 8 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2845, allocations: 62.95 MB / 0.5165 GB, free: 37.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1012/0.3857, allocations: 89.27 MB / 0.6036 GB, free: 140 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/0.3859, allocations: 79.95 kB / 0.6037 GB, free: 60 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01131/0.3972, allocations: 4.52 MB / 0.6081 GB, free: 11.53 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3973, allocations: 0 / 0.6081 GB, free: 11.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.3973, allocations: 0 / 0.6081 GB, free: 11.53 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.0004049/0.3977, allocations: 403.5 kB / 0.6085 GB, free: 11.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.3977, allocations: 8.031 kB / 0.6085 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.3978, allocations: 12.84 kB / 0.6085 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.398, allocations: 202.6 kB / 0.6087 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.398, allocations: 4.312 kB / 0.6087 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.398, allocations: 4.375 kB / 0.6087 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.3981, allocations: 50.23 kB / 0.6088 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3982, allocations: 192 / 0.6088 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3982, allocations: 11.88 kB / 0.6088 GB, free: 10.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.3982, allocations: 0 / 0.6088 GB, free: 10.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.616e-05/0.3983, allocations: 31.98 kB / 0.6088 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.3986, allocations: 269 kB / 0.6091 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.3988, allocations: 50.44 kB / 0.6091 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.328e-05/0.3989, allocations: 24.94 kB / 0.6092 GB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.3989, allocations: 0 / 0.6092 GB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.3989, allocations: 30.56 kB / 0.6092 GB, free: 10.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.3989, allocations: 0 / 0.6092 GB, free: 10.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004932/0.3994, allocations: 161.3 kB / 0.6093 GB, free: 10.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.3995, allocations: 51.41 kB / 0.6094 GB, free: 10.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.3996, allocations: 148.4 kB / 0.6095 GB, free: 9.906 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.3996, allocations: 29.69 kB / 0.6096 GB, free: 9.871 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.3997, allocations: 96.08 kB / 0.6097 GB, free: 9.773 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.3997, allocations: 11.81 kB / 0.6097 GB, free: 9.762 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.3997, allocations: 4 kB / 0.6097 GB, free: 9.758 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.3998, allocations: 326.8 kB / 0.61 GB, free: 9.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.48e-05/0.3999, allocations: 19.98 kB / 0.61 GB, free: 9.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.423e-05/0.4, allocations: 19.98 kB / 0.61 GB, free: 9.391 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.4001, allocations: 60.77 kB / 0.6101 GB, free: 9.328 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.4001, allocations: 4 kB / 0.6101 GB, free: 9.324 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001621/0.4003, allocations: 81.58 kB / 0.6102 GB, free: 9.238 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.4003, allocations: 4 kB / 0.6102 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.4003, allocations: 4 kB / 0.6102 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.4003, allocations: 4 kB / 0.6102 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.006e-05/0.4004, allocations: 11.98 kB / 0.6102 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.4004, allocations: 4 kB / 0.6102 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.993e-05/0.4004, allocations: 8 kB / 0.6102 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.4005, allocations: 3.984 kB / 0.6102 GB, free: 9.199 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 8.037e-05/0.4005, allocations: 129.7 kB / 0.6103 GB, free: 9.062 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.4006, allocations: 7.906 kB / 0.6103 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.4008, allocations: 97.88 kB / 0.6104 GB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4008, allocations: 0 / 0.6104 GB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4008, allocations: 0 / 0.6104 GB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4008, allocations: 0 / 0.6104 GB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003945/0.4012, allocations: 367.8 kB / 0.6108 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4012, allocations: 8.062 kB / 0.6108 GB, free: 8.535 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.054e-05/0.4013, allocations: 8 kB / 0.6108 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4013, allocations: 4 kB / 0.6108 GB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.4013, allocations: 3.984 kB / 0.6108 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.4013, allocations: 4 kB / 0.6108 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4013, allocations: 0 / 0.6108 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.4015, allocations: 183.7 kB / 0.611 GB, free: 8.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.4016, allocations: 93 kB / 0.6111 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.4016, allocations: 7.938 kB / 0.6111 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-05/0.4017, allocations: 7.984 kB / 0.6111 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.4017, allocations: 11.92 kB / 0.6111 GB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.4017, allocations: 0 / 0.6111 GB, free: 8.184 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.518e-05/0.4018, allocations: 111.3 kB / 0.6112 GB, free: 8.074 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4018, allocations: 0 / 0.6112 GB, free: 8.074 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002304/0.4021, allocations: 27.92 kB / 0.6112 GB, free: 8.047 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.0008073/0.4029, allocations: 409.3 kB / 0.6116 GB, free: 7.781 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.4031, allocations: 51.97 kB / 0.6117 GB, free: 7.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4031, allocations: 0 / 0.6117 GB, free: 7.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.05e-05/0.4032, allocations: 35.92 kB / 0.6117 GB, free: 7.695 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.4034, allocations: 17 kB / 0.6117 GB, free: 7.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.4038, allocations: 207.1 kB / 0.6119 GB, free: 7.438 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.404, allocations: 0.6926 MB / 0.6126 GB, free: 6.719 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.4041, allocations: 15.44 kB / 0.6126 GB, free: 6.707 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4041, allocations: 0 / 0.6126 GB, free: 6.707 MB / 426.7 MB Notification: Performance of Templates: time 0.002619/0.4067, allocations: 1.419 MB / 0.614 GB, free: 5.289 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches