Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001466, allocations: 185.9 kB / 16.4 MB, free: 5.75 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.893/1.893, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001109/0.001109, allocations: 92.17 kB / 270.9 MB, free: 8.359 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.4983/0.4983, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.0004811, allocations: 20 kB / 431.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1227, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.47/0.5928, allocations: 86.6 MB / 0.5633 GB, free: 15.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.5932, allocations: 71.95 kB / 0.5634 GB, free: 15.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01836/0.6115, allocations: 4.268 MB / 0.5675 GB, free: 11.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6116, allocations: 0 / 0.5675 GB, free: 11.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.006e-05/0.6116, allocations: 4 kB / 0.5675 GB, free: 11.65 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005884/0.6122, allocations: 421.8 kB / 0.5679 GB, free: 11.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.6123, allocations: 8.562 kB / 0.5679 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.391e-05/0.6123, allocations: 15.81 kB / 0.568 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.6127, allocations: 210.2 kB / 0.5682 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.6127, allocations: 8 kB / 0.5682 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.6127, allocations: 4 kB / 0.5682 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.613, allocations: 80.08 kB / 0.5682 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.613, allocations: 4 kB / 0.5683 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.613, allocations: 0 / 0.5683 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.6131, allocations: 0 / 0.5683 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.6133, allocations: 44.28 kB / 0.5683 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007005/0.614, allocations: 408.9 kB / 0.5687 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/0.6144, allocations: 93.36 kB / 0.5688 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.6144, allocations: 0 / 0.5688 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.6145, allocations: 38.66 kB / 0.5688 GB, free: 10.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.6145, allocations: 0 / 0.5688 GB, free: 10.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.001158/0.6157, allocations: 268.7 kB / 0.5691 GB, free: 9.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.6157, allocations: 85.09 kB / 0.5691 GB, free: 9.809 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.6161, allocations: 206.4 kB / 0.5693 GB, free: 9.602 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.6161, allocations: 25.7 kB / 0.5694 GB, free: 9.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.322e-05/0.6162, allocations: 166.6 kB / 0.5695 GB, free: 9.406 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.866e-05/0.6163, allocations: 31.55 kB / 0.5696 GB, free: 9.375 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.6163, allocations: 4 kB / 0.5696 GB, free: 9.371 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6164, allocations: 314.8 kB / 0.5699 GB, free: 9.055 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.6166, allocations: 35.97 kB / 0.5699 GB, free: 9.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.6168, allocations: 53.62 kB / 0.5699 GB, free: 8.961 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.617, allocations: 43.98 kB / 0.57 GB, free: 8.918 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.617, allocations: 0 / 0.57 GB, free: 8.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000432/0.6175, allocations: 121.5 kB / 0.5701 GB, free: 8.793 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.6175, allocations: 8 kB / 0.5701 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.6175, allocations: 0.875 kB / 0.5701 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.6175, allocations: 0 / 0.5701 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.6177, allocations: 31.92 kB / 0.5701 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.6178, allocations: 3.953 kB / 0.5701 GB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.764e-05/0.6179, allocations: 8 kB / 0.5702 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.6179, allocations: 4 kB / 0.5702 GB, free: 8.738 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001593/0.6181, allocations: 133.8 kB / 0.5703 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-05/0.6181, allocations: 11.84 kB / 0.5703 GB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005557/0.6187, allocations: 172.3 kB / 0.5705 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.6187, allocations: 0.75 kB / 0.5705 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6188, allocations: 0 / 0.5705 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.6188, allocations: 3.953 kB / 0.5705 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.6198, allocations: 0.5298 MB / 0.571 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6198, allocations: 0 / 0.571 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.62, allocations: 23.98 kB / 0.571 GB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.62, allocations: 0 / 0.571 GB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.6201, allocations: 7.953 kB / 0.571 GB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.6201, allocations: 4.219 kB / 0.571 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6201, allocations: 0 / 0.571 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.6206, allocations: 342.7 kB / 0.5713 GB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.381e-05/0.6207, allocations: 97 kB / 0.5714 GB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.6208, allocations: 0 / 0.5714 GB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.6209, allocations: 12 kB / 0.5715 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.621, allocations: 12.53 kB / 0.5715 GB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.621, allocations: 4 kB / 0.5715 GB, free: 7.277 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002497/0.6213, allocations: 174.5 kB / 0.5716 GB, free: 7.109 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6213, allocations: 0 / 0.5716 GB, free: 7.109 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004408/0.6218, allocations: 27.94 kB / 0.5717 GB, free: 7.082 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001165/0.6229, allocations: 424.4 kB / 0.5721 GB, free: 6.762 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004501/0.6234, allocations: 95.88 kB / 0.5722 GB, free: 6.668 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6234, allocations: 0 / 0.5722 GB, free: 6.668 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.6236, allocations: 47.92 kB / 0.5722 GB, free: 6.621 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.624, allocations: 19.94 kB / 0.5722 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008128/0.6249, allocations: 356.6 kB / 0.5726 GB, free: 6.215 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.6252, allocations: 0.716 MB / 0.5733 GB, free: 5.473 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.453e-05/0.6253, allocations: 19.44 kB / 0.5733 GB, free: 5.457 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6253, allocations: 4 kB / 0.5733 GB, free: 5.453 MB / 394.7 MB Notification: Performance of Templates: time 0.005371/0.6307, allocations: 1.876 MB / 0.5751 GB, free: 3.578 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches