Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5") translateModel(ModelicaTest.Tables.CombiTable1D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002354/0.002353, allocations: 181.3 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.15/2.15, 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.001046/0.001046, allocations: 86.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.2851/0.2851, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.549e-05/3.583e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1222, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4998/0.6221, allocations: 86.42 MB / 0.5572 GB, free: 1.156 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.6224, allocations: 68.5 kB / 0.5572 GB, free: 1.125 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01634/0.6388, allocations: 3.984 MB / 0.5611 GB, free: 13.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.6388, allocations: 0 / 0.5611 GB, free: 13.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.6389, allocations: 4 kB / 0.5611 GB, free: 13.71 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004685/0.6394, allocations: 385.9 kB / 0.5615 GB, free: 13.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.6394, allocations: 8.031 kB / 0.5615 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.6395, allocations: 15.91 kB / 0.5615 GB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.6398, allocations: 203.4 kB / 0.5617 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.6398, allocations: 3.938 kB / 0.5617 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.385e-05/0.6399, allocations: 4 kB / 0.5617 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.6401, allocations: 49.34 kB / 0.5618 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.6401, allocations: 0 / 0.5618 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.6401, allocations: 0 / 0.5618 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.6401, allocations: 0 / 0.5618 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.926e-05/0.6402, allocations: 15.88 kB / 0.5618 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.6408, allocations: 300.2 kB / 0.5621 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.641, allocations: 46 kB / 0.5621 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.201e-05/0.6411, allocations: 12.86 kB / 0.5621 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.6411, allocations: 0 / 0.5621 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.6412, allocations: 38.5 kB / 0.5622 GB, free: 12.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.542e-06/0.6412, allocations: 4 kB / 0.5622 GB, free: 12.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005629/0.6417, allocations: 117.1 kB / 0.5623 GB, free: 12.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.6418, allocations: 59.17 kB / 0.5623 GB, free: 12.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.6421, allocations: 197.8 kB / 0.5625 GB, free: 12.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.6422, allocations: 25.7 kB / 0.5626 GB, free: 12.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.324e-05/0.6423, allocations: 177.9 kB / 0.5627 GB, free: 11.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.6423, allocations: 11.75 kB / 0.5627 GB, free: 11.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.6423, allocations: 11.88 kB / 0.5628 GB, free: 11.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.6424, allocations: 310.8 kB / 0.5631 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.406e-05/0.6425, allocations: 11.94 kB / 0.5631 GB, free: 11.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.091e-05/0.6425, allocations: 11.92 kB / 0.5631 GB, free: 11.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.851e-05/0.6426, allocations: 11.94 kB / 0.5631 GB, free: 11.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.6426, allocations: 0 / 0.5631 GB, free: 11.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001559/0.6428, allocations: 69.31 kB / 0.5632 GB, free: 11.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.6428, allocations: 4 kB / 0.5632 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.6428, allocations: 4.234 kB / 0.5632 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.6429, allocations: 4 kB / 0.5632 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.643, allocations: 19.98 kB / 0.5632 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.643, allocations: 0 / 0.5632 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.692e-05/0.6431, allocations: 15.94 kB / 0.5632 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.6432, allocations: 0 / 0.5632 GB, free: 11.53 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 (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.719e-05/0.6432, allocations: 102.5 kB / 0.5633 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.6433, allocations: 15.78 kB / 0.5633 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.6436, allocations: 89.52 kB / 0.5634 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.6436, allocations: 4 kB / 0.5634 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6436, allocations: 0 / 0.5634 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6436, allocations: 0 / 0.5634 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000578/0.6442, allocations: 360.9 kB / 0.5637 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6442, allocations: 0 / 0.5637 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.6443, allocations: 19.92 kB / 0.5638 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.6444, allocations: 3.938 kB / 0.5638 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.6444, allocations: 8 kB / 0.5638 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6444, allocations: 0 / 0.5638 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6444, allocations: 3.953 kB / 0.5638 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.6446, allocations: 162.8 kB / 0.5639 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.382e-05/0.6447, allocations: 93 kB / 0.564 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.6448, allocations: 4 kB / 0.564 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.6449, allocations: 7.812 kB / 0.564 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.645, allocations: 7.984 kB / 0.564 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.645, allocations: 7.953 kB / 0.564 GB, free: 10.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002166/0.6452, allocations: 167 kB / 0.5642 GB, free: 10.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6452, allocations: 0 / 0.5642 GB, free: 10.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003359/0.6456, allocations: 23.98 kB / 0.5642 GB, free: 10.46 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 (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.001087/0.6467, allocations: 366.9 kB / 0.5646 GB, free: 10.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.6469, allocations: 39.55 kB / 0.5646 GB, free: 10.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6469, allocations: 4 kB / 0.5646 GB, free: 10.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.313e-05/0.647, allocations: 19.62 kB / 0.5646 GB, free: 10.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.6473, allocations: 25.22 kB / 0.5647 GB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005981/0.6479, allocations: 210.4 kB / 0.5649 GB, free: 9.879 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.6483, allocations: 0.7082 MB / 0.5656 GB, free: 9.145 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.749e-05/0.6483, allocations: 15.44 kB / 0.5656 GB, free: 9.129 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6484, allocations: 0 / 0.5656 GB, free: 9.129 MB / 378.7 MB Notification: Performance of Templates: time 0.005179/0.6535, allocations: 1.637 MB / 0.5672 GB, free: 7.5 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches