Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 223.2 MB / 241 MB, free: 11.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008782/0.0008782, allocations: 91.5 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.284/0.284, allocations: 44.21 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002827, allocations: 8 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3322, allocations: 61.9 MB / 0.5096 GB, free: 38.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1023/0.4346, allocations: 88.28 MB / 0.5958 GB, free: 6.855 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.4348, allocations: 83.91 kB / 0.5958 GB, free: 6.777 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01132/0.4462, allocations: 4.721 MB / 0.6005 GB, free: 2.059 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4462, allocations: 0 / 0.6005 GB, free: 2.059 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.4462, allocations: 4 kB / 0.6005 GB, free: 2.055 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004065/0.4466, allocations: 426.6 kB / 0.6009 GB, free: 1.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.4467, allocations: 8.031 kB / 0.6009 GB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.4467, allocations: 15.91 kB / 0.6009 GB, free: 1.566 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.447, allocations: 225 kB / 0.6011 GB, free: 1.309 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.447, allocations: 8 kB / 0.6011 GB, free: 1.301 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.447, allocations: 4 kB / 0.6011 GB, free: 1.297 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.4472, allocations: 74.86 kB / 0.6012 GB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4472, allocations: 0 / 0.6012 GB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.4472, allocations: 8 kB / 0.6012 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.4472, allocations: 0 / 0.6012 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.4473, allocations: 51.91 kB / 0.6012 GB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.4478, allocations: 344.7 kB / 0.6016 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.4479, allocations: 82.47 kB / 0.6017 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.448, allocations: 0 / 0.6017 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.448, allocations: 34.56 kB / 0.6017 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.448, allocations: 0 / 0.6017 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009707/0.449, allocations: 357 kB / 0.602 GB, free: 292 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.449, allocations: 51.41 kB / 0.6021 GB, free: 228 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.4492, allocations: 213.3 kB / 0.6023 GB, free: 4 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.4493, allocations: 29.7 kB / 0.6023 GB, free: 15.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.4493, allocations: 108.1 kB / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.4494, allocations: 51.34 kB / 0.6025 GB, free: 15.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.4494, allocations: 0 / 0.6025 GB, free: 15.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4495, allocations: 326.8 kB / 0.6028 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.4496, allocations: 51.97 kB / 0.6028 GB, free: 15.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.652e-05/0.4497, allocations: 53.53 kB / 0.6029 GB, free: 15.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.4498, allocations: 51.97 kB / 0.6029 GB, free: 15.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4498, allocations: 0 / 0.6029 GB, free: 15.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002623/0.4501, allocations: 165.5 kB / 0.6031 GB, free: 15.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.4501, allocations: 4 kB / 0.6031 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4501, allocations: 4 kB / 0.6031 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4501, allocations: 0 / 0.6031 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.4503, allocations: 27.98 kB / 0.6031 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.4503, allocations: 4 kB / 0.6031 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.4503, allocations: 8 kB / 0.6031 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.4504, allocations: 15.88 kB / 0.6031 GB, free: 15.1 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 (13): * Single equations (assignments): 13 * 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 9.413e-05/0.4505, allocations: 134.4 kB / 0.6033 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.4505, allocations: 11.91 kB / 0.6033 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.4508, allocations: 193.1 kB / 0.6035 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4509, allocations: 4 kB / 0.6035 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4509, allocations: 0 / 0.6035 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4509, allocations: 0 / 0.6035 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006304/0.4515, allocations: 0.5224 MB / 0.604 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4515, allocations: 0 / 0.604 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.013e-05/0.4516, allocations: 31.98 kB / 0.604 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.4516, allocations: 0 / 0.604 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.4516, allocations: 7.953 kB / 0.604 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4516, allocations: 0 / 0.604 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4516, allocations: 0 / 0.604 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.452, allocations: 276.9 kB / 0.6043 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.964e-05/0.452, allocations: 100.9 kB / 0.6044 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.4521, allocations: 15.92 kB / 0.6044 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.4522, allocations: 12 kB / 0.6044 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.4522, allocations: 11.98 kB / 0.6044 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.4522, allocations: 4 kB / 0.6044 GB, free: 13.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001324/0.4524, allocations: 167.2 kB / 0.6046 GB, free: 13.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4524, allocations: 0 / 0.6046 GB, free: 13.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002502/0.4526, allocations: 39.88 kB / 0.6046 GB, free: 13.47 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.0009259/0.4535, allocations: 461.5 kB / 0.6051 GB, free: 13.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.4538, allocations: 123.3 kB / 0.6052 GB, free: 13.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4538, allocations: 3.938 kB / 0.6052 GB, free: 13.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.4539, allocations: 63.91 kB / 0.6052 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.4542, allocations: 21.86 kB / 0.6053 GB, free: 13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005082/0.4547, allocations: 359 kB / 0.6056 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.455, allocations: 0.7316 MB / 0.6063 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.796e-05/0.455, allocations: 28.52 kB / 0.6063 GB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.4551, allocations: 19.44 kB / 0.6064 GB, free: 11.8 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4551, allocations: 0 / 0.6064 GB, free: 11.8 MB / 426.7 MB Notification: Performance of Templates: time 0.003544/0.4587, allocations: 1.59 MB / 0.6079 GB, free: 10.22 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches