Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,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.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002065/0.002065, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 83.11 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2918/0.2918, allocations: 43.49 MB / 353.5 MB, free: 2.289 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.12e-05/2.122e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3936, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1581/0.5518, allocations: 85.59 MB / 0.5495 GB, free: 13.72 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.5521, allocations: 71.97 kB / 0.5496 GB, free: 13.65 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01587/0.568, allocations: 3.575 MB / 0.553 GB, free: 10.07 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.568, allocations: 0 / 0.553 GB, free: 10.07 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.5681, allocations: 4.547 kB / 0.5531 GB, free: 10.07 MB / 395.1 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.0004712/0.5686, allocations: 370.2 kB / 0.5534 GB, free: 9.664 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.5686, allocations: 12.03 kB / 0.5534 GB, free: 9.652 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.997e-05/0.5687, allocations: 7.906 kB / 0.5534 GB, free: 9.645 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.569, allocations: 206.8 kB / 0.5536 GB, free: 9.402 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.569, allocations: 0 / 0.5536 GB, free: 9.402 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.569, allocations: 7.984 kB / 0.5536 GB, free: 9.395 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.79e-05/0.5691, allocations: 8 kB / 0.5536 GB, free: 9.387 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.5692, allocations: 41.62 kB / 0.5537 GB, free: 9.34 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.5693, allocations: 0 / 0.5537 GB, free: 9.34 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.5693, allocations: 0 / 0.5537 GB, free: 9.34 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.5693, allocations: 3.938 kB / 0.5537 GB, free: 9.336 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.5697, allocations: 253.5 kB / 0.5539 GB, free: 9.051 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.57, allocations: 38.56 kB / 0.554 GB, free: 9.004 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.451e-05/0.57, allocations: 12.86 kB / 0.554 GB, free: 8.988 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.57, allocations: 0 / 0.554 GB, free: 8.988 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.5701, allocations: 34.5 kB / 0.554 GB, free: 8.945 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.754e-06/0.5701, allocations: 0 / 0.554 GB, free: 8.945 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004903/0.5706, allocations: 105.5 kB / 0.5541 GB, free: 8.836 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.5706, allocations: 59.36 kB / 0.5542 GB, free: 8.766 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.5709, allocations: 144.4 kB / 0.5543 GB, free: 8.621 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.5709, allocations: 25.7 kB / 0.5543 GB, free: 8.59 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.335e-05/0.571, allocations: 162.5 kB / 0.5545 GB, free: 8.43 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.571, allocations: 19.72 kB / 0.5545 GB, free: 8.41 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-06/0.571, allocations: 7.875 kB / 0.5545 GB, free: 8.402 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5712, allocations: 314.8 kB / 0.5548 GB, free: 8.086 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.188e-05/0.5712, allocations: 8 kB / 0.5548 GB, free: 8.078 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.995e-05/0.5713, allocations: 8 kB / 0.5548 GB, free: 8.07 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.364e-05/0.5713, allocations: 15.98 kB / 0.5548 GB, free: 8.055 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5713, allocations: 0 / 0.5548 GB, free: 8.055 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001294/0.5715, allocations: 45.7 kB / 0.5549 GB, free: 8.004 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.5715, allocations: 4 kB / 0.5549 GB, free: 8 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5715, allocations: 0 / 0.5549 GB, free: 8 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.5715, allocations: 0 / 0.5549 GB, free: 8 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.5717, allocations: 15.98 kB / 0.5549 GB, free: 7.984 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5717, allocations: 7.953 kB / 0.5549 GB, free: 7.977 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.273e-05/0.5718, allocations: 11.98 kB / 0.5549 GB, free: 7.965 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.5718, allocations: 4 kB / 0.5549 GB, free: 7.961 MB / 395.1 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 8.23e-05/0.5719, allocations: 105 kB / 0.555 GB, free: 7.852 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.572, allocations: 7.906 kB / 0.555 GB, free: 7.844 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.5722, allocations: 62.09 kB / 0.5551 GB, free: 7.781 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.5722, allocations: 0 / 0.5551 GB, free: 7.781 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5722, allocations: 8 kB / 0.5551 GB, free: 7.773 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.5722, allocations: 7.938 kB / 0.5551 GB, free: 7.766 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.5727, allocations: 307.1 kB / 0.5554 GB, free: 7.422 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.5727, allocations: 0 / 0.5554 GB, free: 7.422 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.5729, allocations: 12 kB / 0.5554 GB, free: 7.41 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.5729, allocations: 0 / 0.5554 GB, free: 7.41 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.5729, allocations: 384 / 0.5554 GB, free: 7.41 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5729, allocations: 0 / 0.5554 GB, free: 7.41 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.5729, allocations: 3.953 kB / 0.5554 GB, free: 7.406 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.5731, allocations: 163.5 kB / 0.5556 GB, free: 7.23 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.5732, allocations: 89 kB / 0.5557 GB, free: 7.125 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.5733, allocations: 7.938 kB / 0.5557 GB, free: 7.117 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.5734, allocations: 8 kB / 0.5557 GB, free: 7.109 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.5735, allocations: 7.938 kB / 0.5557 GB, free: 7.102 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.5735, allocations: 4 kB / 0.5557 GB, free: 7.098 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.5736, allocations: 123.3 kB / 0.5558 GB, free: 6.977 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.706e-06/0.5737, allocations: 0 / 0.5558 GB, free: 6.977 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003583/0.574, allocations: 31.8 kB / 0.5558 GB, free: 6.945 MB / 395.1 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.0009805/0.575, allocations: 328 kB / 0.5561 GB, free: 6.66 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.5752, allocations: 27.98 kB / 0.5562 GB, free: 6.633 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5752, allocations: 4 kB / 0.5562 GB, free: 6.629 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.675e-05/0.5752, allocations: 15.94 kB / 0.5562 GB, free: 6.613 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.5756, allocations: 27.17 kB / 0.5562 GB, free: 6.59 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.576, allocations: 146.2 kB / 0.5563 GB, free: 6.418 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.5764, allocations: 0.7001 MB / 0.557 GB, free: 5.691 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.5765, allocations: 11.44 kB / 0.557 GB, free: 5.68 MB / 395.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5765, allocations: 0 / 0.557 GB, free: 5.68 MB / 395.1 MB Notification: Performance of Templates: time 0.004548/0.581, allocations: 1.455 MB / 0.5585 GB, free: 4.23 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches