Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009579/0.0009582, allocations: 195.1 kB / 16.78 MB, free: 4.914 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: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007201/0.0007201, allocations: 100.3 kB / 296.1 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3361/0.3361, allocations: 44.82 MB / 393 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.0002719, allocations: 11.94 kB / 465.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3003, allocations: 62.96 MB / 0.5165 GB, free: 37.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1042/0.4045, allocations: 89.73 MB / 0.6041 GB, free: 15.63 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.4047, allocations: 79.95 kB / 0.6042 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01423/0.4189, allocations: 5.785 MB / 0.6098 GB, free: 9.762 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.419, allocations: 3.938 kB / 0.6098 GB, free: 9.758 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.419, allocations: 4 kB / 0.6098 GB, free: 9.754 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.0004332/0.4194, allocations: 411.4 kB / 0.6102 GB, free: 9.301 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.4195, allocations: 12.88 kB / 0.6102 GB, free: 9.289 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.4195, allocations: 12.84 kB / 0.6103 GB, free: 9.277 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.4198, allocations: 207.1 kB / 0.6105 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.4198, allocations: 384 / 0.6105 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.4198, allocations: 8.375 kB / 0.6105 GB, free: 9.031 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.42, allocations: 83.88 kB / 0.6105 GB, free: 8.938 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.42, allocations: 4.188 kB / 0.6105 GB, free: 8.934 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.42, allocations: 11.88 kB / 0.6106 GB, free: 8.922 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.42, allocations: 0 / 0.6106 GB, free: 8.922 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.4202, allocations: 39.97 kB / 0.6106 GB, free: 8.883 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.4206, allocations: 308.8 kB / 0.6109 GB, free: 8.531 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.4207, allocations: 62.58 kB / 0.6109 GB, free: 8.461 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.4207, allocations: 24.97 kB / 0.611 GB, free: 8.434 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.4208, allocations: 0 / 0.611 GB, free: 8.434 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.4208, allocations: 35.78 kB / 0.611 GB, free: 8.391 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.4208, allocations: 0 / 0.611 GB, free: 8.391 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006177/0.4214, allocations: 209.1 kB / 0.6112 GB, free: 8.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.4215, allocations: 81.09 kB / 0.6113 GB, free: 8.082 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.4216, allocations: 153.8 kB / 0.6114 GB, free: 7.922 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.4217, allocations: 29.7 kB / 0.6115 GB, free: 7.887 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.4217, allocations: 100.1 kB / 0.6116 GB, free: 7.785 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.4217, allocations: 27.56 kB / 0.6116 GB, free: 7.758 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-06/0.4217, allocations: 0 / 0.6116 GB, free: 7.758 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.4218, allocations: 326.8 kB / 0.6119 GB, free: 7.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.422, allocations: 31.97 kB / 0.6119 GB, free: 7.398 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.367e-05/0.4221, allocations: 53.72 kB / 0.612 GB, free: 7.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.4222, allocations: 80.95 kB / 0.612 GB, free: 7.258 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4222, allocations: 0 / 0.612 GB, free: 7.258 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002144/0.4225, allocations: 113.6 kB / 0.6122 GB, free: 7.141 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.4225, allocations: 4 kB / 0.6122 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.4225, allocations: 0 / 0.6122 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.4225, allocations: 4 kB / 0.6122 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.4226, allocations: 23.98 kB / 0.6122 GB, free: 7.109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4226, allocations: 0 / 0.6122 GB, free: 7.109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.4227, allocations: 15.92 kB / 0.6122 GB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.4227, allocations: 7.938 kB / 0.6122 GB, free: 7.086 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.347e-05/0.4228, allocations: 117.8 kB / 0.6123 GB, free: 6.961 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.4228, allocations: 7.906 kB / 0.6123 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.4231, allocations: 134.3 kB / 0.6125 GB, free: 6.816 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.4231, allocations: 0 / 0.6125 GB, free: 6.816 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4231, allocations: 4 kB / 0.6125 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4231, allocations: 3.984 kB / 0.6125 GB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.4236, allocations: 418.3 kB / 0.6129 GB, free: 6.344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4236, allocations: 4 kB / 0.6129 GB, free: 6.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.639e-05/0.4237, allocations: 19.98 kB / 0.6129 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4237, allocations: 3.938 kB / 0.6129 GB, free: 6.316 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.4237, allocations: 11.94 kB / 0.6129 GB, free: 6.305 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4237, allocations: 240 / 0.6129 GB, free: 6.305 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4237, allocations: 384 / 0.6129 GB, free: 6.305 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.424, allocations: 211.3 kB / 0.6131 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.424, allocations: 93 kB / 0.6132 GB, free: 5.973 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.4241, allocations: 11.94 kB / 0.6132 GB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/0.4241, allocations: 8 kB / 0.6132 GB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.4242, allocations: 11.92 kB / 0.6132 GB, free: 5.941 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.4242, allocations: 0 / 0.6132 GB, free: 5.941 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.464e-05/0.4243, allocations: 122.8 kB / 0.6133 GB, free: 5.824 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4243, allocations: 0 / 0.6133 GB, free: 5.824 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002937/0.4246, allocations: 51.92 kB / 0.6134 GB, free: 5.773 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 (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.000979/0.4256, allocations: 498.1 kB / 0.6139 GB, free: 5.449 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.4258, allocations: 83.88 kB / 0.6139 GB, free: 5.367 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4258, allocations: 4 kB / 0.614 GB, free: 5.363 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.077e-05/0.4259, allocations: 43.97 kB / 0.614 GB, free: 5.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.4262, allocations: 30.95 kB / 0.614 GB, free: 5.293 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.4266, allocations: 247.4 kB / 0.6143 GB, free: 5.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.4268, allocations: 0.7004 MB / 0.6149 GB, free: 4.293 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.4269, allocations: 15.44 kB / 0.615 GB, free: 4.277 MB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4269, allocations: 0 / 0.615 GB, free: 4.277 MB / 426.7 MB Notification: Performance of Templates: time 0.003489/0.4304, allocations: 2.143 MB / 0.617 GB, free: 2.137 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches