Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001629/0.001629, allocations: 182.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008006/0.0008007, allocations: 106.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2281/0.2281, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004967, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1564, allocations: 58.85 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.423/0.5795, allocations: 86.64 MB / 0.5634 GB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.5797, allocations: 75.03 kB / 0.5634 GB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0108/0.5906, allocations: 4.299 MB / 0.5676 GB, free: 9.715 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5906, allocations: 0 / 0.5676 GB, free: 9.715 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.5906, allocations: 7.984 kB / 0.5676 GB, free: 9.707 MB / 378.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.0005602/0.5912, allocations: 370.2 kB / 0.568 GB, free: 9.301 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.5913, allocations: 12.02 kB / 0.568 GB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.5913, allocations: 7.906 kB / 0.568 GB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.5916, allocations: 193.6 kB / 0.5682 GB, free: 9.059 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.5917, allocations: 8 kB / 0.5682 GB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.5917, allocations: 0 / 0.5682 GB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.5919, allocations: 61.66 kB / 0.5683 GB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.147e-05/0.592, allocations: 4 kB / 0.5683 GB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.592, allocations: 7.969 kB / 0.5683 GB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.592, allocations: 0 / 0.5683 GB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.5921, allocations: 30.73 kB / 0.5683 GB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.5926, allocations: 270.1 kB / 0.5686 GB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.5929, allocations: 49.44 kB / 0.5686 GB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.5929, allocations: 0 / 0.5686 GB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.5929, allocations: 38.56 kB / 0.5686 GB, free: 8.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.5929, allocations: 3.938 kB / 0.5686 GB, free: 8.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006792/0.5936, allocations: 155.8 kB / 0.5688 GB, free: 8.406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.5937, allocations: 77.11 kB / 0.5689 GB, free: 8.312 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.5938, allocations: 132 kB / 0.569 GB, free: 8.188 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.5939, allocations: 25.7 kB / 0.569 GB, free: 8.156 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.5939, allocations: 95.39 kB / 0.5691 GB, free: 8.066 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.594, allocations: 11.75 kB / 0.5691 GB, free: 8.055 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.594, allocations: 0 / 0.5691 GB, free: 8.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.5941, allocations: 322.3 kB / 0.5694 GB, free: 7.734 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.143e-05/0.5942, allocations: 23.67 kB / 0.5694 GB, free: 7.715 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.5943, allocations: 33.39 kB / 0.5695 GB, free: 7.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.645e-05/0.5944, allocations: 27.02 kB / 0.5695 GB, free: 7.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.5944, allocations: 4 kB / 0.5695 GB, free: 7.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001813/0.5946, allocations: 88.77 kB / 0.5696 GB, free: 7.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.5946, allocations: 4 kB / 0.5696 GB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.5946, allocations: 0 / 0.5696 GB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.5947, allocations: 0 / 0.5696 GB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.831e-05/0.5947, allocations: 19.98 kB / 0.5696 GB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5947, allocations: 0 / 0.5696 GB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.5948, allocations: 11.73 kB / 0.5696 GB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.5948, allocations: 7.953 kB / 0.5696 GB, free: 7.531 MB / 378.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 0.0001198/0.5949, allocations: 113.4 kB / 0.5697 GB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.595, allocations: 7.906 kB / 0.5698 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.5952, allocations: 103 kB / 0.5699 GB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.5953, allocations: 0 / 0.5699 GB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5953, allocations: 0 / 0.5699 GB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.5953, allocations: 0 / 0.5699 GB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.5957, allocations: 357.5 kB / 0.5702 GB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5957, allocations: 0 / 0.5702 GB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/0.5958, allocations: 19.92 kB / 0.5702 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5958, allocations: 0 / 0.5702 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.5958, allocations: 0 / 0.5702 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.5958, allocations: 0 / 0.5702 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5958, allocations: 0 / 0.5702 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.5961, allocations: 189.8 kB / 0.5704 GB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.5961, allocations: 92.56 kB / 0.5705 GB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.5961, allocations: 0 / 0.5705 GB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.714e-05/0.5962, allocations: 4 kB / 0.5705 GB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.5963, allocations: 7.984 kB / 0.5705 GB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.5963, allocations: 4 kB / 0.5705 GB, free: 6.594 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.489e-05/0.5964, allocations: 114.3 kB / 0.5706 GB, free: 6.492 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5964, allocations: 0 / 0.5706 GB, free: 6.492 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002626/0.5966, allocations: 30.98 kB / 0.5706 GB, free: 6.465 MB / 378.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.0009616/0.5976, allocations: 463.2 kB / 0.5711 GB, free: 6.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.5978, allocations: 54.09 kB / 0.5711 GB, free: 6.027 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5978, allocations: 0 / 0.5711 GB, free: 6.027 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.221e-05/0.5979, allocations: 27.92 kB / 0.5712 GB, free: 6.004 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.5981, allocations: 15.92 kB / 0.5712 GB, free: 5.988 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.5985, allocations: 163.9 kB / 0.5713 GB, free: 5.809 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.5988, allocations: 0.696 MB / 0.572 GB, free: 5.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.105e-05/0.5989, allocations: 12.44 kB / 0.572 GB, free: 5.078 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.5989, allocations: 15.42 kB / 0.572 GB, free: 5.062 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5989, allocations: 0 / 0.572 GB, free: 5.062 MB / 378.7 MB Notification: Performance of Templates: time 0.003507/0.6024, allocations: 1.278 MB / 0.5733 GB, free: 3.797 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches