Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.925/1.925, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001139/0.001139, allocations: 96.34 kB / 270.9 MB, free: 8.383 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.5166/0.5166, allocations: 43.55 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004562, allocations: 12 kB / 431.4 MB, free: 6.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.12, allocations: 58.84 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4637/0.5838, allocations: 86.48 MB / 0.5632 GB, free: 292 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/0.5842, allocations: 79.95 kB / 0.5633 GB, free: 212 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02203/0.6063, allocations: 3.864 MB / 0.567 GB, free: 12.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.6063, allocations: 0 / 0.567 GB, free: 12.38 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.6064, allocations: 0 / 0.567 GB, free: 12.38 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.0007398/0.6071, allocations: 407.9 kB / 0.5674 GB, free: 11.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/0.6072, allocations: 12.02 kB / 0.5674 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.84e-05/0.6073, allocations: 11.81 kB / 0.5674 GB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/0.6078, allocations: 202.3 kB / 0.5676 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.6078, allocations: 0 / 0.5676 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.6079, allocations: 0 / 0.5676 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.6082, allocations: 65.42 kB / 0.5677 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.6082, allocations: 0 / 0.5677 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.6082, allocations: 0 / 0.5677 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.6083, allocations: 0 / 0.5677 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.6085, allocations: 27.33 kB / 0.5677 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007774/0.6093, allocations: 296.8 kB / 0.568 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000431/0.6098, allocations: 46.56 kB / 0.5681 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.6099, allocations: 0 / 0.5681 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.6099, allocations: 34.64 kB / 0.5681 GB, free: 11.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 3.236e-06/0.61, allocations: 0 / 0.5681 GB, free: 11.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001331/0.6113, allocations: 169.2 kB / 0.5682 GB, free: 10.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.242e-05/0.6114, allocations: 59.41 kB / 0.5683 GB, free: 10.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.6119, allocations: 174.3 kB / 0.5685 GB, free: 10.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.612, allocations: 25.7 kB / 0.5685 GB, free: 10.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.6121, allocations: 162.6 kB / 0.5686 GB, free: 10.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.6121, allocations: 19.69 kB / 0.5687 GB, free: 10.53 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-06/0.6122, allocations: 3.938 kB / 0.5687 GB, free: 10.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.6124, allocations: 315.1 kB / 0.569 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.6126, allocations: 27.97 kB / 0.569 GB, free: 10.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.6128, allocations: 23.98 kB / 0.569 GB, free: 10.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.613, allocations: 31.98 kB / 0.5691 GB, free: 10.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.613, allocations: 0 / 0.5691 GB, free: 10.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000485/0.6135, allocations: 85.67 kB / 0.5691 GB, free: 10.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.6136, allocations: 7.984 kB / 0.5691 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.6136, allocations: 4 kB / 0.5691 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.75e-05/0.6137, allocations: 0 / 0.5691 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.6138, allocations: 12 kB / 0.5692 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.6139, allocations: 0 / 0.5692 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.614, allocations: 8.859 kB / 0.5692 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.6141, allocations: 7.953 kB / 0.5692 GB, free: 9.996 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 0.0001886/0.6143, allocations: 129.8 kB / 0.5693 GB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.66e-05/0.6144, allocations: 11.81 kB / 0.5693 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005655/0.6149, allocations: 102 kB / 0.5694 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.615, allocations: 4 kB / 0.5694 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.615, allocations: 320 / 0.5694 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.615, allocations: 0 / 0.5694 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.616, allocations: 386.4 kB / 0.5698 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.6161, allocations: 0 / 0.5698 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.6162, allocations: 19.98 kB / 0.5698 GB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.6163, allocations: 0 / 0.5698 GB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.6163, allocations: 4.75 kB / 0.5698 GB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.6163, allocations: 0 / 0.5698 GB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6163, allocations: 0 / 0.5698 GB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005366/0.6169, allocations: 207.6 kB / 0.57 GB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.617, allocations: 85.02 kB / 0.5701 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.6171, allocations: 7.984 kB / 0.5701 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.6173, allocations: 11.98 kB / 0.5701 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.6173, allocations: 0 / 0.5701 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.6174, allocations: 11.92 kB / 0.5701 GB, free: 8.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002878/0.6177, allocations: 148.3 kB / 0.5703 GB, free: 8.785 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.246e-06/0.6177, allocations: 0 / 0.5703 GB, free: 8.785 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005458/0.6183, allocations: 27.92 kB / 0.5703 GB, free: 8.758 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.001758/0.62, allocations: 404.7 kB / 0.5707 GB, free: 8.457 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000367/0.6205, allocations: 59.95 kB / 0.5707 GB, free: 8.398 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6205, allocations: 0 / 0.5707 GB, free: 8.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.6206, allocations: 35.92 kB / 0.5708 GB, free: 8.363 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.6209, allocations: 17.2 kB / 0.5708 GB, free: 8.348 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000665/0.6216, allocations: 276.8 kB / 0.571 GB, free: 8.051 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.622, allocations: 0.7043 MB / 0.5717 GB, free: 7.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.084e-05/0.6221, allocations: 15.44 kB / 0.5717 GB, free: 7.305 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6221, allocations: 0 / 0.5717 GB, free: 7.305 MB / 394.7 MB Notification: Performance of Templates: time 0.005854/0.628, allocations: 1.544 MB / 0.5732 GB, free: 5.762 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches