Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008976/0.0008976, allocations: 180.1 kB / 14.15 MB, free: 1.176 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.243/1.243, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000956/0.0009558, allocations: 80.06 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1756/0.1756, allocations: 44.14 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.804e-05/2.806e-05, allocations: 4.219 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.347/0.4595, allocations: 88.2 MB / 0.5878 GB, free: 1.129 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.4598, allocations: 71.97 kB / 0.5879 GB, free: 1.059 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01154/0.4713, allocations: 4.699 MB / 0.5925 GB, free: 12.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4714, allocations: 0 / 0.5925 GB, free: 12.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.4714, allocations: 4 kB / 0.5925 GB, free: 12.37 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.0003879/0.4718, allocations: 406.1 kB / 0.5929 GB, free: 11.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.4718, allocations: 12.03 kB / 0.5929 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.4719, allocations: 11.81 kB / 0.5929 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.4721, allocations: 211.4 kB / 0.5931 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.4722, allocations: 0 / 0.5931 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.4722, allocations: 11.91 kB / 0.5931 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.4723, allocations: 69.62 kB / 0.5932 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.4724, allocations: 0 / 0.5932 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.4724, allocations: 15.94 kB / 0.5932 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4724, allocations: 0 / 0.5932 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.693e-05/0.4725, allocations: 35.92 kB / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/0.473, allocations: 348.7 kB / 0.5936 GB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.4731, allocations: 66.48 kB / 0.5936 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.4732, allocations: 24.86 kB / 0.5937 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.4732, allocations: 0 / 0.5937 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.4732, allocations: 34.56 kB / 0.5937 GB, free: 10.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.4732, allocations: 0 / 0.5937 GB, free: 10.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006461/0.4739, allocations: 242.2 kB / 0.5939 GB, free: 10.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.4739, allocations: 59.36 kB / 0.594 GB, free: 10.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.4742, allocations: 214.4 kB / 0.5942 GB, free: 10.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.4742, allocations: 25.7 kB / 0.5942 GB, free: 10.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.4743, allocations: 112 kB / 0.5943 GB, free: 10.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.4743, allocations: 55.23 kB / 0.5944 GB, free: 10.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.4743, allocations: 0 / 0.5944 GB, free: 10.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4745, allocations: 326.8 kB / 0.5947 GB, free: 9.926 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.758e-05/0.4745, allocations: 35.98 kB / 0.5947 GB, free: 9.891 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.2e-05/0.4746, allocations: 35.98 kB / 0.5947 GB, free: 9.855 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.503e-05/0.4747, allocations: 41.48 kB / 0.5948 GB, free: 9.816 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4747, allocations: 0 / 0.5948 GB, free: 9.816 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001854/0.4749, allocations: 137.4 kB / 0.5949 GB, free: 9.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.4749, allocations: 8 kB / 0.5949 GB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4749, allocations: 0 / 0.5949 GB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4749, allocations: 0 / 0.5949 GB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.4751, allocations: 31.92 kB / 0.595 GB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.4751, allocations: 0 / 0.595 GB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/0.4751, allocations: 15.86 kB / 0.595 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.4752, allocations: 8 kB / 0.595 GB, free: 9.617 MB / 410.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 () * 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 6.824e-05/0.4752, allocations: 113 kB / 0.5951 GB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.4753, allocations: 7.906 kB / 0.5951 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.4755, allocations: 163.5 kB / 0.5952 GB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.4756, allocations: 4 kB / 0.5953 GB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4756, allocations: 3.984 kB / 0.5953 GB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.4756, allocations: 3.984 kB / 0.5953 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005326/0.4761, allocations: 0.4952 MB / 0.5957 GB, free: 8.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4761, allocations: 4 kB / 0.5957 GB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.364e-05/0.4762, allocations: 23.98 kB / 0.5958 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4762, allocations: 0 / 0.5958 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.4763, allocations: 7.953 kB / 0.5958 GB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4763, allocations: 0 / 0.5958 GB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4763, allocations: 7.969 kB / 0.5958 GB, free: 8.719 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.4765, allocations: 246 kB / 0.596 GB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.442e-05/0.4766, allocations: 100.9 kB / 0.5961 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.4766, allocations: 7.938 kB / 0.5961 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.4767, allocations: 8 kB / 0.5961 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.4768, allocations: 11.98 kB / 0.5961 GB, free: 8.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.4768, allocations: 8 kB / 0.5962 GB, free: 8.301 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001408/0.4769, allocations: 164.2 kB / 0.5963 GB, free: 8.141 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4769, allocations: 0 / 0.5963 GB, free: 8.141 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.4772, allocations: 32 kB / 0.5963 GB, free: 8.109 MB / 410.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 () * 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.0009124/0.4781, allocations: 429.1 kB / 0.5967 GB, free: 7.797 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.4783, allocations: 95.91 kB / 0.5968 GB, free: 7.703 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4783, allocations: 0 / 0.5968 GB, free: 7.703 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.15e-05/0.4784, allocations: 51.94 kB / 0.5969 GB, free: 7.652 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.4786, allocations: 15.98 kB / 0.5969 GB, free: 7.637 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.479, allocations: 250.5 kB / 0.5971 GB, free: 7.367 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.4793, allocations: 0.7277 MB / 0.5979 GB, free: 6.613 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.883e-05/0.4793, allocations: 28.53 kB / 0.5979 GB, free: 6.586 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.4794, allocations: 15.44 kB / 0.5979 GB, free: 6.57 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4794, allocations: 4 kB / 0.5979 GB, free: 6.566 MB / 410.7 MB Notification: Performance of Templates: time 0.003754/0.4832, allocations: 1.608 MB / 0.5995 GB, free: 4.961 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches