Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001684/0.001683, allocations: 181.6 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.037/2.037, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001119/0.001118, allocations: 89.94 kB / 267.5 MB, free: 14.05 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.2782/0.2782, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.394e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4794/0.595, allocations: 86.36 MB / 0.5571 GB, free: 1.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.5953, allocations: 72.81 kB / 0.5572 GB, free: 1.195 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01479/0.6101, allocations: 3.551 MB / 0.5607 GB, free: 14.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.6101, allocations: 0 / 0.5607 GB, free: 14.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.6101, allocations: 0 / 0.5607 GB, free: 14.19 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.0004343/0.6106, allocations: 358.3 kB / 0.561 GB, free: 13.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.6107, allocations: 12.03 kB / 0.561 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.6107, allocations: 7.906 kB / 0.561 GB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.611, allocations: 198.6 kB / 0.5612 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.611, allocations: 0 / 0.5612 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.611, allocations: 7.938 kB / 0.5612 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.6112, allocations: 45.38 kB / 0.5613 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.6112, allocations: 0 / 0.5613 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.6112, allocations: 0 / 0.5613 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.6112, allocations: 0 / 0.5613 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.974e-05/0.6113, allocations: 15.88 kB / 0.5613 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.6118, allocations: 287.9 kB / 0.5616 GB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.612, allocations: 42.08 kB / 0.5616 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/0.6121, allocations: 12.94 kB / 0.5616 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.6121, allocations: 3.984 kB / 0.5616 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.6122, allocations: 46.44 kB / 0.5617 GB, free: 13.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.883e-06/0.6122, allocations: 0 / 0.5617 GB, free: 13.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005466/0.6127, allocations: 108 kB / 0.5618 GB, free: 12.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.6128, allocations: 55.36 kB / 0.5618 GB, free: 12.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.613, allocations: 131.3 kB / 0.5619 GB, free: 12.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.613, allocations: 25.7 kB / 0.562 GB, free: 12.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.066e-05/0.6131, allocations: 158.1 kB / 0.5621 GB, free: 12.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.6132, allocations: 15.66 kB / 0.5621 GB, free: 12.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.6132, allocations: 7.938 kB / 0.5621 GB, free: 12.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.6133, allocations: 318.8 kB / 0.5624 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.241e-05/0.6134, allocations: 7.688 kB / 0.5625 GB, free: 12.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-05/0.6134, allocations: 15.62 kB / 0.5625 GB, free: 12.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.141e-05/0.6135, allocations: 15.92 kB / 0.5625 GB, free: 12.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.6135, allocations: 0 / 0.5625 GB, free: 12.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001654/0.6137, allocations: 65.19 kB / 0.5625 GB, free: 12.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.6137, allocations: 4 kB / 0.5625 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.6137, allocations: 0 / 0.5625 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.6137, allocations: 4 kB / 0.5626 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.6139, allocations: 15.98 kB / 0.5626 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.6139, allocations: 0 / 0.5626 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.928e-05/0.614, allocations: 11.7 kB / 0.5626 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.614, allocations: 7.938 kB / 0.5626 GB, free: 12.12 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.262e-05/0.6141, allocations: 101 kB / 0.5627 GB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.6142, allocations: 8.156 kB / 0.5627 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.6144, allocations: 88.89 kB / 0.5628 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.6144, allocations: 0 / 0.5628 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.6145, allocations: 0 / 0.5628 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6145, allocations: 0 / 0.5628 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.615, allocations: 341.3 kB / 0.5631 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.615, allocations: 0 / 0.5631 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.6151, allocations: 15.94 kB / 0.5631 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.6151, allocations: 0 / 0.5631 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.6152, allocations: 11.98 kB / 0.5631 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.6152, allocations: 0 / 0.5631 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.6152, allocations: 3.953 kB / 0.5631 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.6154, allocations: 162.8 kB / 0.5633 GB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/0.6155, allocations: 85.02 kB / 0.5634 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.6155, allocations: 3.984 kB / 0.5634 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.6156, allocations: 4 kB / 0.5634 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.6157, allocations: 11.95 kB / 0.5634 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.6157, allocations: 0 / 0.5634 GB, free: 11.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.6158, allocations: 110.6 kB / 0.5635 GB, free: 11.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6159, allocations: 0 / 0.5635 GB, free: 11.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003232/0.6162, allocations: 31.8 kB / 0.5635 GB, free: 11.12 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.001111/0.6173, allocations: 364.4 kB / 0.5639 GB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.6176, allocations: 31.86 kB / 0.5639 GB, free: 10.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.6176, allocations: 4 kB / 0.5639 GB, free: 10.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.856e-05/0.6176, allocations: 19.69 kB / 0.5639 GB, free: 10.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.618, allocations: 14.11 kB / 0.5639 GB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.6184, allocations: 145.2 kB / 0.5641 GB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.6187, allocations: 0.6913 MB / 0.5647 GB, free: 9.906 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.764e-05/0.6188, allocations: 19.42 kB / 0.5648 GB, free: 9.887 MB / 378.7 MB Notification: Performance of SimCode: time 2.876e-06/0.6188, allocations: 0 / 0.5648 GB, free: 9.887 MB / 378.7 MB Notification: Performance of Templates: time 0.004465/0.6233, allocations: 1.416 MB / 0.5662 GB, free: 8.477 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches