Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1D.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002364/0.002364, allocations: 181.7 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.281/2.281, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001078/0.001078, allocations: 86.7 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.2839/0.2839, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.39e-05/3.406e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.487/0.6064, allocations: 86.36 MB / 0.5571 GB, free: 1.297 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.6067, allocations: 73.97 kB / 0.5572 GB, free: 1.262 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01492/0.6216, allocations: 3.589 MB / 0.5607 GB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.6217, allocations: 0 / 0.5607 GB, free: 14.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.6217, allocations: 4 kB / 0.5607 GB, free: 14.21 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.0004717/0.6222, allocations: 385.9 kB / 0.5611 GB, free: 13.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.6222, allocations: 8.031 kB / 0.5611 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.6223, allocations: 4 kB / 0.5611 GB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.6226, allocations: 197.6 kB / 0.5613 GB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.6226, allocations: 4 kB / 0.5613 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.6227, allocations: 7.906 kB / 0.5613 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.6228, allocations: 41.56 kB / 0.5613 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.6228, allocations: 7.5 kB / 0.5613 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.6229, allocations: 0 / 0.5613 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.6229, allocations: 0 / 0.5613 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.657e-05/0.6229, allocations: 15.5 kB / 0.5613 GB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.6235, allocations: 282.9 kB / 0.5616 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.6237, allocations: 45.98 kB / 0.5617 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.6238, allocations: 12.73 kB / 0.5617 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.6238, allocations: 4 kB / 0.5617 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.6239, allocations: 34.56 kB / 0.5617 GB, free: 13.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.924e-06/0.6239, allocations: 0 / 0.5617 GB, free: 13.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005317/0.6244, allocations: 123.1 kB / 0.5618 GB, free: 12.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.6245, allocations: 55.36 kB / 0.5619 GB, free: 12.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.6247, allocations: 139.8 kB / 0.562 GB, free: 12.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.6247, allocations: 25.7 kB / 0.562 GB, free: 12.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.6248, allocations: 164.5 kB / 0.5622 GB, free: 12.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.6248, allocations: 15.73 kB / 0.5622 GB, free: 12.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.6249, allocations: 7.875 kB / 0.5622 GB, free: 12.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.625, allocations: 314.8 kB / 0.5625 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.445e-05/0.6251, allocations: 11.94 kB / 0.5625 GB, free: 12.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.269e-05/0.6251, allocations: 7.312 kB / 0.5625 GB, free: 12.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.983e-05/0.6252, allocations: 15.36 kB / 0.5625 GB, free: 12.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.6252, allocations: 0 / 0.5625 GB, free: 12.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001615/0.6253, allocations: 68.09 kB / 0.5626 GB, free: 12.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.6254, allocations: 7.938 kB / 0.5626 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6254, allocations: 0 / 0.5626 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.6254, allocations: 0 / 0.5626 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.6256, allocations: 20.23 kB / 0.5626 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.6256, allocations: 0 / 0.5626 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.702e-05/0.6257, allocations: 19.77 kB / 0.5627 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.6257, allocations: 0 / 0.5627 GB, free: 12.11 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.451e-05/0.6258, allocations: 101 kB / 0.5628 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.6258, allocations: 7.906 kB / 0.5628 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.6261, allocations: 79.08 kB / 0.5628 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.6261, allocations: 7.938 kB / 0.5628 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6261, allocations: 4 kB / 0.5628 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6261, allocations: 7.922 kB / 0.5629 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000502/0.6267, allocations: 330.6 kB / 0.5632 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6267, allocations: 0 / 0.5632 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.6268, allocations: 19.23 kB / 0.5632 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.6268, allocations: 0 / 0.5632 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.6268, allocations: 0 / 0.5632 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.984e-06/0.6269, allocations: 4 kB / 0.5632 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-06/0.6269, allocations: 7.953 kB / 0.5632 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.6271, allocations: 164.6 kB / 0.5634 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.6272, allocations: 89 kB / 0.5634 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.6272, allocations: 0 / 0.5634 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.6273, allocations: 4 kB / 0.5634 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.6274, allocations: 10.86 kB / 0.5635 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.6274, allocations: 3.953 kB / 0.5635 GB, free: 11.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.6276, allocations: 120.1 kB / 0.5636 GB, free: 11.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6276, allocations: 3.938 kB / 0.5636 GB, free: 11.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003138/0.6279, allocations: 15.44 kB / 0.5636 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.001074/0.629, allocations: 366.9 kB / 0.5639 GB, free: 10.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.6292, allocations: 38.92 kB / 0.564 GB, free: 10.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6292, allocations: 0 / 0.564 GB, free: 10.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.627e-05/0.6293, allocations: 19.31 kB / 0.564 GB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.6296, allocations: 22.23 kB / 0.564 GB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.63, allocations: 148.2 kB / 0.5642 GB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.6303, allocations: 0.7099 MB / 0.5649 GB, free: 9.859 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.6304, allocations: 11.44 kB / 0.5649 GB, free: 9.848 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6304, allocations: 0 / 0.5649 GB, free: 9.848 MB / 378.7 MB Notification: Performance of Templates: time 0.0044/0.6348, allocations: 1.441 MB / 0.5663 GB, free: 8.414 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches