Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001076, allocations: 177.8 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 98.28 kB / 261.8 MB, free: 1.684 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.2537/0.2537, allocations: 43.48 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.477e-05/1.48e-05, allocations: 0 / 418.2 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1359, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4967/0.6327, allocations: 85.98 MB / 0.5499 GB, free: 8.801 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.6331, allocations: 72.88 kB / 0.55 GB, free: 8.766 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01005/0.6431, allocations: 4.008 MB / 0.5539 GB, free: 5.758 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6432, allocations: 4 kB / 0.5539 GB, free: 5.754 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.6432, allocations: 0 / 0.5539 GB, free: 5.754 MB / 362.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.0004794/0.6437, allocations: 364.9 kB / 0.5542 GB, free: 5.359 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/0.6438, allocations: 12.03 kB / 0.5542 GB, free: 5.348 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.6439, allocations: 7.906 kB / 0.5543 GB, free: 5.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.6441, allocations: 190 kB / 0.5544 GB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.6442, allocations: 0 / 0.5544 GB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.6442, allocations: 4.844 kB / 0.5544 GB, free: 5.117 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.07e-05/0.6443, allocations: 11.94 kB / 0.5544 GB, free: 5.109 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.6444, allocations: 58.22 kB / 0.5545 GB, free: 5.047 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.6445, allocations: 0 / 0.5545 GB, free: 5.047 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.6445, allocations: 3.984 kB / 0.5545 GB, free: 5.043 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.6445, allocations: 8 kB / 0.5545 GB, free: 5.035 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.645, allocations: 259.5 kB / 0.5548 GB, free: 4.758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.6452, allocations: 34.52 kB / 0.5548 GB, free: 4.719 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.6452, allocations: 8.859 kB / 0.5548 GB, free: 4.707 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.6452, allocations: 7.938 kB / 0.5548 GB, free: 4.699 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.6453, allocations: 41.52 kB / 0.5549 GB, free: 4.652 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.6453, allocations: 4 kB / 0.5549 GB, free: 4.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.00048/0.6458, allocations: 99.39 kB / 0.555 GB, free: 4.559 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.6458, allocations: 81.09 kB / 0.555 GB, free: 4.461 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.646, allocations: 116.3 kB / 0.5551 GB, free: 4.352 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.646, allocations: 25.7 kB / 0.5552 GB, free: 4.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.646, allocations: 95.62 kB / 0.5553 GB, free: 4.227 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.646, allocations: 19.69 kB / 0.5553 GB, free: 4.211 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.646, allocations: 0 / 0.5553 GB, free: 4.211 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.533e-05/0.6461, allocations: 322.9 kB / 0.5556 GB, free: 3.891 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/0.6461, allocations: 15.88 kB / 0.5556 GB, free: 3.879 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.482e-05/0.6462, allocations: 21.66 kB / 0.5556 GB, free: 3.855 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.989e-05/0.6462, allocations: 15.8 kB / 0.5556 GB, free: 3.844 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.6462, allocations: 32 / 0.5556 GB, free: 3.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.012e-05/0.6463, allocations: 65.47 kB / 0.5557 GB, free: 3.781 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.6463, allocations: 8 kB / 0.5557 GB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.6463, allocations: 0 / 0.5557 GB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.6464, allocations: 0 / 0.5557 GB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/0.6464, allocations: 15.98 kB / 0.5557 GB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.6465, allocations: 0 / 0.5557 GB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.06e-05/0.6465, allocations: 4 kB / 0.5557 GB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.6465, allocations: 0 / 0.5557 GB, free: 3.754 MB / 362.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 5.767e-05/0.6466, allocations: 124.7 kB / 0.5558 GB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.6466, allocations: 7.906 kB / 0.5558 GB, free: 3.621 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.6467, allocations: 74.02 kB / 0.5559 GB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.6468, allocations: 0 / 0.5559 GB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6468, allocations: 0 / 0.5559 GB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.6468, allocations: 4 kB / 0.5559 GB, free: 3.551 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.647, allocations: 306.4 kB / 0.5562 GB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.647, allocations: 0 / 0.5562 GB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.6471, allocations: 19.98 kB / 0.5562 GB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6471, allocations: 0 / 0.5562 GB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.6471, allocations: 0 / 0.5562 GB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.6471, allocations: 4 kB / 0.5562 GB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6471, allocations: 0 / 0.5562 GB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.6472, allocations: 162.8 kB / 0.5564 GB, free: 3.043 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.6473, allocations: 92.75 kB / 0.5565 GB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.6473, allocations: 4 kB / 0.5565 GB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-05/0.6474, allocations: 4 kB / 0.5565 GB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.6474, allocations: 7.984 kB / 0.5565 GB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.6475, allocations: 0 / 0.5565 GB, free: 2.922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.162e-05/0.6475, allocations: 118.6 kB / 0.5566 GB, free: 2.812 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6475, allocations: 0 / 0.5566 GB, free: 2.812 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002622/0.6478, allocations: 27.25 kB / 0.5566 GB, free: 2.793 MB / 362.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.001072/0.6489, allocations: 373.3 kB / 0.557 GB, free: 2.477 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.649, allocations: 31.67 kB / 0.557 GB, free: 2.453 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.649, allocations: 4 kB / 0.557 GB, free: 2.449 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.066e-05/0.6491, allocations: 23.62 kB / 0.557 GB, free: 2.434 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.6494, allocations: 15.94 kB / 0.5571 GB, free: 2.418 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.6497, allocations: 95.36 kB / 0.5572 GB, free: 2.309 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.6499, allocations: 0.6924 MB / 0.5578 GB, free: 1.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.551e-05/0.65, allocations: 24.42 kB / 0.5579 GB, free: 1.566 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.65, allocations: 15.42 kB / 0.5579 GB, free: 1.551 MB / 362.7 MB Notification: Performance of SimCode: time 1.293e-06/0.6501, allocations: 0 / 0.5579 GB, free: 1.551 MB / 362.7 MB Notification: Performance of Templates: time 0.004342/0.6544, allocations: 1.251 MB / 0.5591 GB, free: 328 kB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches