Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001485/0.001489, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00111/0.001109, allocations: 78.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2931/0.2931, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.858e-05/4.858e-05, allocations: 7.984 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1509, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4735/0.6245, allocations: 86.33 MB / 0.5571 GB, free: 1.242 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.6248, allocations: 77.73 kB / 0.5572 GB, free: 1.203 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01693/0.6417, allocations: 3.911 MB / 0.561 GB, free: 13.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6418, allocations: 0 / 0.561 GB, free: 13.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.6418, allocations: 4 kB / 0.561 GB, free: 13.89 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000477/0.6423, allocations: 381 kB / 0.5614 GB, free: 13.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.6424, allocations: 12.03 kB / 0.5614 GB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.6424, allocations: 7.906 kB / 0.5614 GB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.6427, allocations: 190.5 kB / 0.5616 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.6428, allocations: 3.438 kB / 0.5616 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.6428, allocations: 4 kB / 0.5616 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.6429, allocations: 48.31 kB / 0.5616 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.643, allocations: 4 kB / 0.5616 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.643, allocations: 7.297 kB / 0.5616 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.643, allocations: 3.938 kB / 0.5616 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.614e-05/0.6431, allocations: 23.56 kB / 0.5617 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.6436, allocations: 299.3 kB / 0.5619 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.6438, allocations: 49.25 kB / 0.562 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.55e-05/0.6439, allocations: 20.23 kB / 0.562 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.6439, allocations: 0 / 0.562 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.6439, allocations: 38.12 kB / 0.562 GB, free: 12.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.764e-06/0.644, allocations: 0 / 0.562 GB, free: 12.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006661/0.6446, allocations: 140.6 kB / 0.5622 GB, free: 12.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.6447, allocations: 55.41 kB / 0.5622 GB, free: 12.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.6449, allocations: 135.9 kB / 0.5624 GB, free: 12.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.645, allocations: 37.08 kB / 0.5624 GB, free: 12.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.428e-05/0.6451, allocations: 154.1 kB / 0.5625 GB, free: 12.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.6451, allocations: 26.89 kB / 0.5626 GB, free: 12.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/0.6452, allocations: 3.312 kB / 0.5626 GB, free: 12.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.6453, allocations: 314.8 kB / 0.5629 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.374e-05/0.6454, allocations: 22.11 kB / 0.5629 GB, free: 11.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.884e-05/0.6455, allocations: 11.25 kB / 0.5629 GB, free: 11.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.112e-05/0.6455, allocations: 14.44 kB / 0.5629 GB, free: 11.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6455, allocations: 0 / 0.5629 GB, free: 11.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002012/0.6458, allocations: 82.62 kB / 0.563 GB, free: 11.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.6458, allocations: 11.92 kB / 0.563 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6458, allocations: 0 / 0.563 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.6458, allocations: 0 / 0.563 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.646, allocations: 16 kB / 0.563 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.6461, allocations: 8.125 kB / 0.563 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.703e-05/0.6462, allocations: 12 kB / 0.563 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.6462, allocations: 0 / 0.563 GB, free: 11.72 MB / 378.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 (8): * Single equations (assignments): 8 * 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 9.187e-05/0.6463, allocations: 112.4 kB / 0.5632 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.6464, allocations: 7.906 kB / 0.5632 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.6467, allocations: 102.3 kB / 0.5633 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6467, allocations: 0 / 0.5633 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6467, allocations: 0 / 0.5633 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.6467, allocations: 7.953 kB / 0.5633 GB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005989/0.6473, allocations: 368.1 kB / 0.5636 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6474, allocations: 3.938 kB / 0.5636 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.6475, allocations: 23.31 kB / 0.5636 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.6475, allocations: 0 / 0.5636 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.6476, allocations: 7.938 kB / 0.5636 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.6476, allocations: 4 kB / 0.5637 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6476, allocations: 0 / 0.5637 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.6478, allocations: 172.7 kB / 0.5638 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.6479, allocations: 92.39 kB / 0.5639 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.648, allocations: 3.984 kB / 0.5639 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.6481, allocations: 7.953 kB / 0.5639 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.6482, allocations: 11.05 kB / 0.5639 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.6482, allocations: 4 kB / 0.5639 GB, free: 10.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001403/0.6483, allocations: 116.2 kB / 0.564 GB, free: 10.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6483, allocations: 3.938 kB / 0.564 GB, free: 10.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003283/0.6487, allocations: 23.31 kB / 0.5641 GB, free: 10.67 MB / 378.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 (8): * Single equations (assignments): 8 * 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.001087/0.6498, allocations: 374.6 kB / 0.5644 GB, free: 10.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.65, allocations: 38.5 kB / 0.5645 GB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.65, allocations: 0 / 0.5645 GB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.344e-05/0.6501, allocations: 29.94 kB / 0.5645 GB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.6504, allocations: 18.17 kB / 0.5645 GB, free: 10.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004876/0.6509, allocations: 164.7 kB / 0.5647 GB, free: 10.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.6513, allocations: 0.7061 MB / 0.5654 GB, free: 9.387 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.6514, allocations: 11.44 kB / 0.5654 GB, free: 9.375 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.6514, allocations: 4 kB / 0.5654 GB, free: 9.371 MB / 378.7 MB Notification: Performance of Templates: time 0.004858/0.6563, allocations: 1.556 MB / 0.5669 GB, free: 7.82 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches