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.0008115/0.0008117, allocations: 179.1 kB / 18.09 MB, free: 3.746 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.205/1.205, allocations: 223.3 MB / 242.1 MB, free: 11.68 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.0007284/0.0007284, allocations: 94.95 kB / 293.3 MB, free: 10.79 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.2867/0.2867, allocations: 44.15 MB / 388.5 MB, free: 38.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003286, allocations: 16 kB / 461.1 MB, free: 1.566 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2603, allocations: 61.88 MB / 0.5107 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09468/0.355, allocations: 88.29 MB / 0.5969 GB, free: 6.832 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.3552, allocations: 83.94 kB / 0.597 GB, free: 6.754 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01143/0.3667, allocations: 4.698 MB / 0.6016 GB, free: 2.059 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3667, allocations: 0 / 0.6016 GB, free: 2.059 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.3667, allocations: 4 kB / 0.6016 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.0004635/0.3672, allocations: 442.7 kB / 0.602 GB, free: 1.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.3672, allocations: 8.031 kB / 0.602 GB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.183e-05/0.3673, allocations: 12.84 kB / 0.6021 GB, free: 1.551 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.3676, allocations: 218.2 kB / 0.6023 GB, free: 1.301 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.3676, allocations: 8.375 kB / 0.6023 GB, free: 1.293 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.3676, allocations: 4.375 kB / 0.6023 GB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.3678, allocations: 74.22 kB / 0.6023 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.3678, allocations: 12.12 kB / 0.6024 GB, free: 1.199 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3678, allocations: 7.875 kB / 0.6024 GB, free: 1.191 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.3678, allocations: 0 / 0.6024 GB, free: 1.191 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.368, allocations: 43.97 kB / 0.6024 GB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.3684, allocations: 356.7 kB / 0.6027 GB, free: 0.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.3686, allocations: 70.47 kB / 0.6028 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.875e-05/0.3686, allocations: 32.84 kB / 0.6028 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.3686, allocations: 0 / 0.6028 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.3687, allocations: 38.56 kB / 0.6029 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.3687, allocations: 0 / 0.6029 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009381/0.3696, allocations: 352.9 kB / 0.6032 GB, free: 244 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.3697, allocations: 63.28 kB / 0.6033 GB, free: 168 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.3699, allocations: 226.4 kB / 0.6035 GB, free: 15.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.3699, allocations: 29.7 kB / 0.6035 GB, free: 15.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.37, allocations: 112.1 kB / 0.6036 GB, free: 15.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.37, allocations: 39.36 kB / 0.6037 GB, free: 15.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.3701, allocations: 8 kB / 0.6037 GB, free: 15.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3702, allocations: 322.8 kB / 0.604 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.3703, allocations: 47.97 kB / 0.604 GB, free: 15.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.08e-05/0.3704, allocations: 53.22 kB / 0.6041 GB, free: 15.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.3706, allocations: 115.8 kB / 0.6042 GB, free: 15.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3706, allocations: 0 / 0.6042 GB, free: 15.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002536/0.3709, allocations: 165.5 kB / 0.6043 GB, free: 15.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3709, allocations: 4 kB / 0.6044 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3709, allocations: 3.984 kB / 0.6044 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3709, allocations: 4 kB / 0.6044 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.371, allocations: 23.98 kB / 0.6044 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.371, allocations: 3.938 kB / 0.6044 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.3711, allocations: 19.98 kB / 0.6044 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3711, allocations: 4 kB / 0.6044 GB, free: 14.96 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 8.933e-05/0.3712, allocations: 129.8 kB / 0.6045 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.3712, allocations: 15.81 kB / 0.6045 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.3716, allocations: 199.8 kB / 0.6047 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.3716, allocations: 0 / 0.6047 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3716, allocations: 3.938 kB / 0.6047 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3716, allocations: 4 kB / 0.6047 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006473/0.3723, allocations: 0.5185 MB / 0.6053 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3723, allocations: 0 / 0.6053 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.142e-05/0.3724, allocations: 31.92 kB / 0.6053 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3724, allocations: 3.984 kB / 0.6053 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3724, allocations: 8 kB / 0.6053 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3724, allocations: 0 / 0.6053 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3724, allocations: 0 / 0.6053 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.3727, allocations: 260.2 kB / 0.6055 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.3728, allocations: 96.91 kB / 0.6056 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.3728, allocations: 8 kB / 0.6056 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.3729, allocations: 8 kB / 0.6057 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.3729, allocations: 11.92 kB / 0.6057 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.373, allocations: 12 kB / 0.6057 GB, free: 13.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.3731, allocations: 167.2 kB / 0.6058 GB, free: 13.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3731, allocations: 0 / 0.6058 GB, free: 13.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002535/0.3734, allocations: 39.88 kB / 0.6059 GB, free: 13.36 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.0008723/0.3742, allocations: 466.6 kB / 0.6063 GB, free: 13.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002573/0.3745, allocations: 123.8 kB / 0.6064 GB, free: 12.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3745, allocations: 4 kB / 0.6064 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.3746, allocations: 67.91 kB / 0.6065 GB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.3749, allocations: 19.92 kB / 0.6065 GB, free: 12.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.3755, allocations: 358.9 kB / 0.6069 GB, free: 12.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.3758, allocations: 0.7199 MB / 0.6076 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.468e-05/0.3759, allocations: 36.52 kB / 0.6076 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.3759, allocations: 15.44 kB / 0.6076 GB, free: 11.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3759, allocations: 0 / 0.6076 GB, free: 11.7 MB / 426.7 MB Notification: Performance of Templates: time 0.003673/0.3796, allocations: 1.619 MB / 0.6092 GB, free: 10.09 MB / 426.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/jenkins1/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