Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008921/0.0008921, allocations: 178.3 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.199/1.199, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.0008299/0.0008299, allocations: 97.56 kB / 293.3 MB, free: 10.77 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.2639/0.2639, allocations: 44.15 MB / 388.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.0003271, allocations: 12 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2709, allocations: 61.88 MB / 0.5107 GB, free: 38.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09395/0.3649, allocations: 88.37 MB / 0.597 GB, free: 6.688 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/0.3652, allocations: 79.95 kB / 0.5971 GB, free: 6.613 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01022/0.3754, allocations: 4.485 MB / 0.6015 GB, free: 2.129 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3754, allocations: 0 / 0.6015 GB, free: 2.129 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.507e-06/0.3754, allocations: 4 kB / 0.6015 GB, free: 2.125 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003318/0.3758, allocations: 383.2 kB / 0.6018 GB, free: 1.699 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3758, allocations: 8.031 kB / 0.6019 GB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.3759, allocations: 8.844 kB / 0.6019 GB, free: 1.684 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.376, allocations: 188.2 kB / 0.602 GB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.376, allocations: 4.375 kB / 0.602 GB, free: 1.457 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.3761, allocations: 8.375 kB / 0.6021 GB, free: 1.449 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.3762, allocations: 63.95 kB / 0.6021 GB, free: 1.375 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3762, allocations: 8.125 kB / 0.6021 GB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3762, allocations: 3.938 kB / 0.6021 GB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3763, allocations: 0 / 0.6021 GB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.426e-05/0.3763, allocations: 31.92 kB / 0.6022 GB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.3767, allocations: 280.9 kB / 0.6024 GB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.3769, allocations: 54.44 kB / 0.6025 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.377, allocations: 24.94 kB / 0.6025 GB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.377, allocations: 0 / 0.6025 GB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.377, allocations: 30.56 kB / 0.6025 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.377, allocations: 0 / 0.6025 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004859/0.3775, allocations: 169.3 kB / 0.6027 GB, free: 0.707 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.3775, allocations: 77.11 kB / 0.6028 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.3777, allocations: 134.6 kB / 0.6029 GB, free: 484 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.3777, allocations: 29.69 kB / 0.6029 GB, free: 448 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.3777, allocations: 88.14 kB / 0.603 GB, free: 356 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.3778, allocations: 23.66 kB / 0.603 GB, free: 332 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/0.3778, allocations: 0 / 0.603 GB, free: 332 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.3779, allocations: 322.8 kB / 0.6033 GB, free: 0 / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.3779, allocations: 27.98 kB / 0.6034 GB, free: 15.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-05/0.378, allocations: 33.7 kB / 0.6034 GB, free: 15.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.3782, allocations: 64.81 kB / 0.6035 GB, free: 15.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3782, allocations: 32 / 0.6035 GB, free: 15.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000178/0.3784, allocations: 93.61 kB / 0.6035 GB, free: 15.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.3784, allocations: 4 kB / 0.6035 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3784, allocations: 0 / 0.6035 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.3784, allocations: 7.938 kB / 0.6036 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.685e-05/0.3785, allocations: 11.98 kB / 0.6036 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3785, allocations: 8 kB / 0.6036 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.959e-05/0.3785, allocations: 7.984 kB / 0.6036 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.3785, allocations: 0 / 0.6036 GB, free: 15.73 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 (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 7.62e-05/0.3786, allocations: 118.3 kB / 0.6037 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.3786, allocations: 7.906 kB / 0.6037 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.3789, allocations: 109.8 kB / 0.6038 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3789, allocations: 4.062 kB / 0.6038 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3789, allocations: 7.984 kB / 0.6038 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3789, allocations: 288 / 0.6038 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.3793, allocations: 358.5 kB / 0.6042 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3793, allocations: 4 kB / 0.6042 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.965e-05/0.3794, allocations: 15.88 kB / 0.6042 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3794, allocations: 4 kB / 0.6042 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.3794, allocations: 7.969 kB / 0.6042 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3794, allocations: 0 / 0.6042 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3794, allocations: 0 / 0.6042 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.3796, allocations: 191.4 kB / 0.6044 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.3797, allocations: 89 kB / 0.6045 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.3797, allocations: 4 kB / 0.6045 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.731e-05/0.3798, allocations: 11.98 kB / 0.6045 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.3798, allocations: 3.938 kB / 0.6045 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-06/0.3798, allocations: 8 kB / 0.6045 GB, free: 14.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.388e-05/0.3799, allocations: 102.4 kB / 0.6046 GB, free: 14.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3799, allocations: 0 / 0.6046 GB, free: 14.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000227/0.3801, allocations: 31.98 kB / 0.6046 GB, free: 14.57 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 (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.0008398/0.381, allocations: 454.1 kB / 0.605 GB, free: 14.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.3812, allocations: 55.97 kB / 0.6051 GB, free: 14.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3812, allocations: 0 / 0.6051 GB, free: 14.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.725e-05/0.3813, allocations: 39.97 kB / 0.6051 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.3815, allocations: 15.88 kB / 0.6052 GB, free: 14.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.3819, allocations: 168.7 kB / 0.6053 GB, free: 13.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.3821, allocations: 0.6887 MB / 0.606 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.165e-05/0.3822, allocations: 19.97 kB / 0.606 GB, free: 13.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.3822, allocations: 15.42 kB / 0.606 GB, free: 13.24 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3822, allocations: 0 / 0.606 GB, free: 13.24 MB / 426.7 MB Notification: Performance of Templates: time 0.003096/0.3853, allocations: 1.295 MB / 0.6073 GB, free: 11.96 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches