Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.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.CombiTable1D.Test12,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.CombiTable1D.Test12") translateModel(ModelicaTest.Tables.CombiTable1D.Test12,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.CombiTable1D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 183 kB / 13.19 MB, free: 2.129 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.394/1.394, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007605/0.0007607, allocations: 86.55 kB / 267 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3608/0.3608, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.385e-05/3.388e-05, allocations: 4 kB / 425.3 MB, free: 8.223 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 58.86 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3803/0.4971, allocations: 86.37 MB / 0.5572 GB, free: 17.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001682/0.4973, allocations: 71.98 kB / 0.5572 GB, free: 17.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0084/0.5057, allocations: 3.614 MB / 0.5608 GB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5058, allocations: 0 / 0.5608 GB, free: 15.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.5058, allocations: 0 / 0.5608 GB, free: 15.3 MB / 394.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.0002598/0.5061, allocations: 371.9 kB / 0.5611 GB, free: 14.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.5061, allocations: 12.03 kB / 0.5611 GB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.5061, allocations: 11.34 kB / 0.5611 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.5063, allocations: 198.1 kB / 0.5613 GB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.5063, allocations: 3.938 kB / 0.5613 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.5064, allocations: 4 kB / 0.5613 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.192e-05/0.5065, allocations: 41.17 kB / 0.5614 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.5065, allocations: 0 / 0.5614 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.5065, allocations: 5 kB / 0.5614 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.5065, allocations: 1.5 kB / 0.5614 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.239e-05/0.5065, allocations: 17.06 kB / 0.5614 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.5069, allocations: 289 kB / 0.5617 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.507, allocations: 40.59 kB / 0.5617 GB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.396e-05/0.5071, allocations: 12.61 kB / 0.5617 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.5071, allocations: 1.406 kB / 0.5617 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.5071, allocations: 42.56 kB / 0.5618 GB, free: 14.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.5071, allocations: 0.7656 kB / 0.5618 GB, free: 14.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003575/0.5075, allocations: 120.1 kB / 0.5619 GB, free: 14.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.5075, allocations: 51.41 kB / 0.5619 GB, free: 14.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.5076, allocations: 148.5 kB / 0.5621 GB, free: 13.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.5077, allocations: 25.7 kB / 0.5621 GB, free: 13.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/0.5077, allocations: 100.9 kB / 0.5622 GB, free: 13.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.5077, allocations: 16.75 kB / 0.5622 GB, free: 13.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.5077, allocations: 3.688 kB / 0.5622 GB, free: 13.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.46e-05/0.5078, allocations: 321.7 kB / 0.5625 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.451e-05/0.5078, allocations: 13.12 kB / 0.5625 GB, free: 13.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.875e-05/0.5078, allocations: 11.69 kB / 0.5625 GB, free: 13.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.909e-05/0.5079, allocations: 14.86 kB / 0.5626 GB, free: 13.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.5079, allocations: 0 / 0.5626 GB, free: 13.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.564e-05/0.508, allocations: 74.72 kB / 0.5626 GB, free: 13.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.508, allocations: 4 kB / 0.5626 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.508, allocations: 4.141 kB / 0.5626 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.508, allocations: 5.406 kB / 0.5626 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.448e-05/0.5081, allocations: 17.48 kB / 0.5627 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.5081, allocations: 1.641 kB / 0.5627 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.054e-05/0.5082, allocations: 9.641 kB / 0.5627 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.5082, allocations: 4 kB / 0.5627 GB, free: 13.35 MB / 394.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 (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 3.721e-05/0.5082, allocations: 104.7 kB / 0.5628 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.5083, allocations: 11.91 kB / 0.5628 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.5084, allocations: 82.81 kB / 0.5629 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5084, allocations: 9.688 kB / 0.5629 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.5084, allocations: 0 / 0.5629 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5084, allocations: 0 / 0.5629 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.5087, allocations: 342.1 kB / 0.5632 GB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5087, allocations: 0 / 0.5632 GB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.957e-05/0.5088, allocations: 18.8 kB / 0.5632 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.5088, allocations: 9.312 kB / 0.5632 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.5088, allocations: 0 / 0.5632 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.5088, allocations: 4 kB / 0.5632 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5088, allocations: 0 / 0.5632 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.5089, allocations: 164.1 kB / 0.5634 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.509, allocations: 90.06 kB / 0.5635 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.509, allocations: 3.953 kB / 0.5635 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.5091, allocations: 10.81 kB / 0.5635 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.5091, allocations: 5.547 kB / 0.5635 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.5091, allocations: 0 / 0.5635 GB, free: 12.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.546e-05/0.5092, allocations: 132.6 kB / 0.5636 GB, free: 12.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5092, allocations: 0 / 0.5636 GB, free: 12.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002053/0.5094, allocations: 24.77 kB / 0.5636 GB, free: 12.39 MB / 394.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 () * 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.0006829/0.5101, allocations: 358.5 kB / 0.564 GB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.434e-05/0.5102, allocations: 36.2 kB / 0.564 GB, free: 12.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5102, allocations: 0 / 0.564 GB, free: 12.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.042e-05/0.5102, allocations: 21.11 kB / 0.564 GB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.5104, allocations: 17.5 kB / 0.564 GB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.5107, allocations: 129 kB / 0.5642 GB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.5108, allocations: 0.7107 MB / 0.5649 GB, free: 11.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.992e-05/0.5109, allocations: 15.33 kB / 0.5649 GB, free: 11.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.5109, allocations: 11.44 kB / 0.5649 GB, free: 11.2 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5109, allocations: 0 / 0.5649 GB, free: 11.2 MB / 394.7 MB Notification: Performance of Templates: time 0.002969/0.5139, allocations: 1.09 MB / 0.566 GB, free: 10.55 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches