Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1D.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 177.2 kB / 17.41 MB, free: 4.293 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.487/1.487, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0008073/0.0008073, allocations: 93.41 kB / 271.9 MB, free: 8.262 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.3446/0.3446, allocations: 43.55 MB / 363.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003842, allocations: 16 kB / 432.6 MB, free: 5.902 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1208, allocations: 58.85 MB / 491.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2998/0.4207, allocations: 86.78 MB / 0.5647 GB, free: 15.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.421, allocations: 71.95 kB / 0.5647 GB, free: 15.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01055/0.4315, allocations: 4.333 MB / 0.569 GB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4316, allocations: 0 / 0.569 GB, free: 11.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.4316, allocations: 3.938 kB / 0.569 GB, free: 11.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.0003922/0.432, allocations: 383 kB / 0.5693 GB, free: 10.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.432, allocations: 12.03 kB / 0.5694 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.4321, allocations: 8.844 kB / 0.5694 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.4323, allocations: 192.2 kB / 0.5695 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.162e-06/0.4323, allocations: 384 / 0.5695 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.4323, allocations: 4.938 kB / 0.5696 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.4325, allocations: 63.91 kB / 0.5696 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4325, allocations: 8.172 kB / 0.5696 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.4325, allocations: 3.938 kB / 0.5696 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4325, allocations: 4 kB / 0.5696 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.602e-05/0.4326, allocations: 23.98 kB / 0.5697 GB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.433, allocations: 280.2 kB / 0.5699 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.4332, allocations: 58.42 kB / 0.57 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.423e-05/0.4333, allocations: 16.86 kB / 0.57 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.4333, allocations: 0 / 0.57 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.4333, allocations: 34.84 kB / 0.57 GB, free: 10.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.124e-06/0.4333, allocations: 4 kB / 0.57 GB, free: 10.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005288/0.4339, allocations: 157.5 kB / 0.5702 GB, free: 9.898 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.4339, allocations: 81.11 kB / 0.5703 GB, free: 9.801 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.4341, allocations: 137.8 kB / 0.5704 GB, free: 9.656 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.4341, allocations: 25.7 kB / 0.5704 GB, free: 9.625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.4341, allocations: 100.1 kB / 0.5705 GB, free: 9.523 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.4342, allocations: 15.66 kB / 0.5705 GB, free: 9.508 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.4342, allocations: 4 kB / 0.5705 GB, free: 9.504 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.4343, allocations: 318.8 kB / 0.5708 GB, free: 9.184 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-05/0.4344, allocations: 31.97 kB / 0.5709 GB, free: 9.152 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.236e-05/0.4344, allocations: 37.7 kB / 0.5709 GB, free: 9.109 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.4346, allocations: 54.77 kB / 0.5709 GB, free: 9.055 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.4346, allocations: 8.031 kB / 0.571 GB, free: 9.047 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001816/0.4348, allocations: 93.59 kB / 0.571 GB, free: 8.949 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.4348, allocations: 4 kB / 0.571 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.4348, allocations: 0 / 0.571 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.4348, allocations: 0 / 0.571 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.4349, allocations: 19.98 kB / 0.5711 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.4349, allocations: 0 / 0.5711 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.39e-05/0.435, allocations: 8 kB / 0.5711 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.435, allocations: 4 kB / 0.5711 GB, free: 8.914 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 () * Number of clocked 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.773e-05/0.4351, allocations: 121.8 kB / 0.5712 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.4351, allocations: 12.17 kB / 0.5712 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.4354, allocations: 106.4 kB / 0.5713 GB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4354, allocations: 3.984 kB / 0.5713 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.4354, allocations: 0 / 0.5713 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.4354, allocations: 0 / 0.5713 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.4358, allocations: 366.8 kB / 0.5717 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4359, allocations: 3.938 kB / 0.5717 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.4359, allocations: 20.05 kB / 0.5717 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4359, allocations: 0 / 0.5717 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.4359, allocations: 0.75 kB / 0.5717 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4359, allocations: 0 / 0.5717 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.436, allocations: 4 kB / 0.5717 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.4362, allocations: 195.4 kB / 0.5719 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.4362, allocations: 93 kB / 0.572 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.4363, allocations: 0 / 0.572 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.611e-05/0.4363, allocations: 4 kB / 0.572 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.4364, allocations: 11.92 kB / 0.572 GB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.4364, allocations: 7.938 kB / 0.572 GB, free: 7.883 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.374e-05/0.4365, allocations: 111.2 kB / 0.5721 GB, free: 7.773 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.512e-06/0.4365, allocations: 0 / 0.5721 GB, free: 7.773 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002459/0.4367, allocations: 23.94 kB / 0.5721 GB, free: 7.75 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 () * Number of clocked 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.0009037/0.4376, allocations: 452.8 kB / 0.5725 GB, free: 7.398 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.4379, allocations: 59.95 kB / 0.5726 GB, free: 7.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4379, allocations: 0 / 0.5726 GB, free: 7.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.626e-05/0.4379, allocations: 31.92 kB / 0.5726 GB, free: 7.309 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.4382, allocations: 23.97 kB / 0.5727 GB, free: 7.285 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.4386, allocations: 200.6 kB / 0.5728 GB, free: 7.062 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.4389, allocations: 0.6887 MB / 0.5735 GB, free: 6.348 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.4389, allocations: 15.42 kB / 0.5735 GB, free: 6.332 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4389, allocations: 4 kB / 0.5735 GB, free: 6.328 MB / 394.7 MB Notification: Performance of Templates: time 0.003014/0.442, allocations: 1.572 MB / 0.5751 GB, free: 4.758 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches