Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1D.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00222/0.00222, allocations: 186.2 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.97/1.97, 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.001594/0.001593, allocations: 96.36 kB / 270.9 MB, free: 8.391 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.4997/0.4997, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006304/0.0006305, allocations: 12 kB / 431.4 MB, free: 6.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1294, allocations: 58.85 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4548/0.5842, allocations: 86.49 MB / 0.5632 GB, free: 276 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.5846, allocations: 71.97 kB / 0.5633 GB, free: 204 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01738/0.602, allocations: 4.065 MB / 0.5672 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.602, allocations: 0 / 0.5672 GB, free: 12.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.091e-05/0.6021, allocations: 4 kB / 0.5672 GB, free: 12.17 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.0005702/0.6027, allocations: 419.6 kB / 0.5676 GB, free: 11.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.6027, allocations: 16.02 kB / 0.5676 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.6028, allocations: 11.34 kB / 0.5677 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.6031, allocations: 213.7 kB / 0.5679 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.6032, allocations: 0 / 0.5679 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.6032, allocations: 10.72 kB / 0.5679 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.6034, allocations: 49.69 kB / 0.5679 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.6034, allocations: 4 kB / 0.5679 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.6035, allocations: 3.938 kB / 0.5679 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.6035, allocations: 1.031 kB / 0.5679 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.6036, allocations: 27.97 kB / 0.568 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005381/0.6042, allocations: 300.8 kB / 0.5682 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.6045, allocations: 46.56 kB / 0.5683 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.6045, allocations: 7.984 kB / 0.5683 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.6046, allocations: 34.56 kB / 0.5683 GB, free: 10.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.6046, allocations: 0 / 0.5683 GB, free: 10.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009103/0.6055, allocations: 177.2 kB / 0.5685 GB, free: 10.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.6056, allocations: 55.41 kB / 0.5685 GB, free: 10.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.606, allocations: 213.8 kB / 0.5688 GB, free: 10.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.606, allocations: 29.7 kB / 0.5688 GB, free: 10.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.878e-05/0.6061, allocations: 170.5 kB / 0.5689 GB, free: 10.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.6062, allocations: 15.8 kB / 0.569 GB, free: 10.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.6062, allocations: 0 / 0.569 GB, free: 10.22 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6063, allocations: 319 kB / 0.5693 GB, free: 9.898 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.6065, allocations: 23.98 kB / 0.5693 GB, free: 9.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.6066, allocations: 31.92 kB / 0.5693 GB, free: 9.844 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.6068, allocations: 23.98 kB / 0.5693 GB, free: 9.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.6068, allocations: 0 / 0.5693 GB, free: 9.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003824/0.6072, allocations: 89.66 kB / 0.5694 GB, free: 9.727 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.6072, allocations: 8 kB / 0.5694 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.6073, allocations: 0 / 0.5694 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.6073, allocations: 0 / 0.5694 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.6074, allocations: 16.48 kB / 0.5694 GB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.6074, allocations: 3.953 kB / 0.5694 GB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.414e-05/0.6075, allocations: 8 kB / 0.5695 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.6075, allocations: 0 / 0.5695 GB, free: 9.691 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.0001461/0.6077, allocations: 134.9 kB / 0.5696 GB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.6078, allocations: 15.81 kB / 0.5696 GB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004033/0.6082, allocations: 118.8 kB / 0.5697 GB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.6082, allocations: 0 / 0.5697 GB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6082, allocations: 0 / 0.5697 GB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.6082, allocations: 3.953 kB / 0.5697 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007302/0.609, allocations: 398.5 kB / 0.5701 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.609, allocations: 0 / 0.5701 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.6091, allocations: 16.27 kB / 0.5701 GB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.6091, allocations: 0 / 0.5701 GB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.6091, allocations: 4 kB / 0.5701 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.6092, allocations: 3.953 kB / 0.5701 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6092, allocations: 4 kB / 0.5701 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.6096, allocations: 199.3 kB / 0.5703 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.551e-05/0.6097, allocations: 96.95 kB / 0.5704 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.6097, allocations: 4 kB / 0.5704 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.6098, allocations: 7.984 kB / 0.5704 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.6099, allocations: 11.89 kB / 0.5704 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.6099, allocations: 0 / 0.5704 GB, free: 8.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002583/0.6102, allocations: 187.2 kB / 0.5706 GB, free: 8.406 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6102, allocations: 0 / 0.5706 GB, free: 8.406 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003505/0.6105, allocations: 27.94 kB / 0.5706 GB, free: 8.379 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.001208/0.6118, allocations: 409.2 kB / 0.571 GB, free: 8.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003344/0.6121, allocations: 51.97 kB / 0.5711 GB, free: 8.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6121, allocations: 0 / 0.5711 GB, free: 8.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.6123, allocations: 35.92 kB / 0.5711 GB, free: 7.984 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.6126, allocations: 20.11 kB / 0.5711 GB, free: 7.961 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006904/0.6133, allocations: 313.7 kB / 0.5714 GB, free: 7.629 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.6136, allocations: 0.716 MB / 0.5721 GB, free: 6.887 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.6137, allocations: 15.44 kB / 0.5721 GB, free: 6.871 MB / 394.7 MB Notification: Performance of SimCode: time 7.92e-07/0.6137, allocations: 0 / 0.5721 GB, free: 6.871 MB / 394.7 MB Notification: Performance of Templates: time 0.004688/0.6184, allocations: 1.689 MB / 0.5738 GB, free: 5.184 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches