Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.00105/0.00105, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.587/1.587, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008842/0.0008839, allocations: 102.8 kB / 270.2 MB, free: 13.36 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.2183/0.2183, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.000315, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.13, allocations: 58.85 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4009/0.531, allocations: 86.6 MB / 0.5633 GB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.5313, allocations: 70.83 kB / 0.5634 GB, free: 13.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01136/0.5427, allocations: 4.27 MB / 0.5676 GB, free: 9.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5427, allocations: 0 / 0.5676 GB, free: 9.535 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.5428, allocations: 8 kB / 0.5676 GB, free: 9.527 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005144/0.5433, allocations: 421 kB / 0.568 GB, free: 9.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.5433, allocations: 8.562 kB / 0.568 GB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.5434, allocations: 15.89 kB / 0.568 GB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.5437, allocations: 202 kB / 0.5682 GB, free: 8.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.5437, allocations: 7.75 kB / 0.5682 GB, free: 8.816 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.5437, allocations: 3.906 kB / 0.5682 GB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.5439, allocations: 89.89 kB / 0.5683 GB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.5439, allocations: 7.922 kB / 0.5683 GB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.544, allocations: 0 / 0.5683 GB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.544, allocations: 0 / 0.5683 GB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.5441, allocations: 41.72 kB / 0.5683 GB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005246/0.5446, allocations: 404.8 kB / 0.5687 GB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.5449, allocations: 87.56 kB / 0.5688 GB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.545, allocations: 8.078 kB / 0.5688 GB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.545, allocations: 34.56 kB / 0.5688 GB, free: 8.117 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.545, allocations: 0 / 0.5688 GB, free: 8.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007349/0.5457, allocations: 265.2 kB / 0.5691 GB, free: 7.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.5458, allocations: 81.11 kB / 0.5692 GB, free: 7.789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.5461, allocations: 202.2 kB / 0.5694 GB, free: 7.609 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.5461, allocations: 29.58 kB / 0.5694 GB, free: 7.578 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.5462, allocations: 109.7 kB / 0.5695 GB, free: 7.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.5462, allocations: 31.17 kB / 0.5695 GB, free: 7.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.5462, allocations: 7.188 kB / 0.5695 GB, free: 7.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.5464, allocations: 322.2 kB / 0.5698 GB, free: 7.129 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.889e-05/0.5465, allocations: 35.09 kB / 0.5699 GB, free: 7.102 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.471e-05/0.5466, allocations: 55.69 kB / 0.5699 GB, free: 7.051 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.595e-05/0.5467, allocations: 41.8 kB / 0.57 GB, free: 7.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.5467, allocations: 0 / 0.57 GB, free: 7.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002394/0.547, allocations: 129.2 kB / 0.5701 GB, free: 6.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.547, allocations: 4 kB / 0.5701 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.547, allocations: 8 kB / 0.5701 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.547, allocations: 3.984 kB / 0.5701 GB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.174e-05/0.5471, allocations: 20.19 kB / 0.5701 GB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.5471, allocations: 11.94 kB / 0.5701 GB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.989e-05/0.5472, allocations: 8.562 kB / 0.5701 GB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.5472, allocations: 7.375 kB / 0.5701 GB, free: 6.852 MB / 378.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.0001052/0.5473, allocations: 128.5 kB / 0.5703 GB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.5474, allocations: 19.81 kB / 0.5703 GB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.5477, allocations: 153.7 kB / 0.5704 GB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5477, allocations: 4.188 kB / 0.5704 GB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5477, allocations: 0 / 0.5704 GB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.5477, allocations: 11.88 kB / 0.5705 GB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006848/0.5484, allocations: 0.534 MB / 0.571 GB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.5485, allocations: 3.938 kB / 0.571 GB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.5485, allocations: 19.98 kB / 0.571 GB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.5485, allocations: 8.031 kB / 0.571 GB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.5486, allocations: 7.328 kB / 0.571 GB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.5486, allocations: 4 kB / 0.571 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5486, allocations: 0 / 0.571 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.5489, allocations: 331.1 kB / 0.5713 GB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.042e-05/0.549, allocations: 96.92 kB / 0.5714 GB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.5491, allocations: 6.797 kB / 0.5714 GB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.5492, allocations: 4 kB / 0.5714 GB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.5492, allocations: 19.05 kB / 0.5715 GB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.5492, allocations: 4 kB / 0.5715 GB, free: 5.504 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.5494, allocations: 171.2 kB / 0.5716 GB, free: 5.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5494, allocations: 0 / 0.5716 GB, free: 5.363 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002851/0.5497, allocations: 27.62 kB / 0.5716 GB, free: 5.34 MB / 378.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.0009341/0.5506, allocations: 427.8 kB / 0.5721 GB, free: 4.977 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.5509, allocations: 93.2 kB / 0.5721 GB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5509, allocations: 0 / 0.5721 GB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.551, allocations: 53.84 kB / 0.5722 GB, free: 4.859 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.5513, allocations: 15.56 kB / 0.5722 GB, free: 4.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005921/0.5519, allocations: 322.1 kB / 0.5725 GB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.5523, allocations: 0.7187 MB / 0.5732 GB, free: 3.777 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.902e-05/0.5523, allocations: 24.41 kB / 0.5732 GB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.5524, allocations: 16.12 kB / 0.5733 GB, free: 3.738 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5524, allocations: 0 / 0.5733 GB, free: 3.738 MB / 378.7 MB Notification: Performance of Templates: time 0.003891/0.5563, allocations: 1.341 MB / 0.5746 GB, free: 2.41 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/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_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches