Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1D.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001323/0.001322, allocations: 183.7 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.642/1.642, 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.0008614/0.0008613, allocations: 98.84 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.2107/0.2107, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1358, allocations: 58.84 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5019/0.6377, allocations: 86.61 MB / 0.5633 GB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003668/0.6382, allocations: 71.33 kB / 0.5634 GB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01569/0.6539, allocations: 3.599 MB / 0.5669 GB, free: 10.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.6539, allocations: 0 / 0.5669 GB, free: 10.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.654, allocations: 0 / 0.5669 GB, free: 10.09 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005903/0.6546, allocations: 386.7 kB / 0.5673 GB, free: 9.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.6546, allocations: 8.031 kB / 0.5673 GB, free: 9.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.404e-05/0.6547, allocations: 11.91 kB / 0.5673 GB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.655, allocations: 186.7 kB / 0.5675 GB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.6551, allocations: 7.938 kB / 0.5675 GB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.6551, allocations: 3.375 kB / 0.5675 GB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.6554, allocations: 67.02 kB / 0.5676 GB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.6554, allocations: 0 / 0.5676 GB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.6554, allocations: 4 kB / 0.5676 GB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.485e-06/0.6554, allocations: 4 kB / 0.5676 GB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.6556, allocations: 31.66 kB / 0.5676 GB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005945/0.6562, allocations: 291.1 kB / 0.5679 GB, free: 9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.6564, allocations: 45.44 kB / 0.5679 GB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.6564, allocations: 0 / 0.5679 GB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.6565, allocations: 34.56 kB / 0.5679 GB, free: 8.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.6565, allocations: 0 / 0.5679 GB, free: 8.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009152/0.6574, allocations: 179.1 kB / 0.5681 GB, free: 8.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.6575, allocations: 77.11 kB / 0.5682 GB, free: 8.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.6577, allocations: 127.5 kB / 0.5683 GB, free: 8.535 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.6578, allocations: 29.14 kB / 0.5683 GB, free: 8.504 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.6578, allocations: 91.95 kB / 0.5684 GB, free: 8.414 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.6579, allocations: 22.89 kB / 0.5684 GB, free: 8.395 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.6579, allocations: 0 / 0.5684 GB, free: 8.395 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.6581, allocations: 318.7 kB / 0.5687 GB, free: 8.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.6582, allocations: 27.3 kB / 0.5688 GB, free: 8.055 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.6584, allocations: 48.75 kB / 0.5688 GB, free: 8.008 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.6585, allocations: 30.92 kB / 0.5689 GB, free: 7.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.6585, allocations: 0 / 0.5689 GB, free: 7.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003272/0.6589, allocations: 99.75 kB / 0.5689 GB, free: 7.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.6589, allocations: 14.62 kB / 0.569 GB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6589, allocations: 0 / 0.569 GB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.659, allocations: 4 kB / 0.569 GB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.6591, allocations: 15.98 kB / 0.569 GB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.6592, allocations: 0 / 0.569 GB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.148e-05/0.6593, allocations: 4 kB / 0.569 GB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.6593, allocations: 7.953 kB / 0.569 GB, free: 7.852 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001289/0.6594, allocations: 125.4 kB / 0.5691 GB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.6595, allocations: 11.89 kB / 0.5691 GB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/0.6599, allocations: 104.3 kB / 0.5692 GB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6599, allocations: 0 / 0.5692 GB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.6599, allocations: 4.062 kB / 0.5692 GB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.66, allocations: 3.984 kB / 0.5692 GB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006899/0.6607, allocations: 375 kB / 0.5696 GB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.6607, allocations: 0 / 0.5696 GB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-05/0.6608, allocations: 15.98 kB / 0.5696 GB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.6608, allocations: 0 / 0.5696 GB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.6608, allocations: 8 kB / 0.5696 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6609, allocations: 0 / 0.5696 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6609, allocations: 0 / 0.5696 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.6613, allocations: 200.7 kB / 0.5698 GB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.81e-05/0.6614, allocations: 89.28 kB / 0.5699 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.6614, allocations: 7.938 kB / 0.5699 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.6615, allocations: 4 kB / 0.5699 GB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/0.6616, allocations: 15.47 kB / 0.5699 GB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.6616, allocations: 0 / 0.5699 GB, free: 6.875 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.6617, allocations: 105.7 kB / 0.57 GB, free: 6.777 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-07/0.6618, allocations: 0 / 0.57 GB, free: 6.777 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004685/0.6622, allocations: 35.86 kB / 0.57 GB, free: 6.746 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.001663/0.6639, allocations: 452.3 kB / 0.5705 GB, free: 6.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003325/0.6643, allocations: 66.16 kB / 0.5705 GB, free: 6.309 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.6643, allocations: 4 kB / 0.5705 GB, free: 6.305 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.6644, allocations: 39.41 kB / 0.5706 GB, free: 6.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.6648, allocations: 19.28 kB / 0.5706 GB, free: 6.254 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.6653, allocations: 179.1 kB / 0.5708 GB, free: 6.062 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.6658, allocations: 0.6887 MB / 0.5714 GB, free: 5.348 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.6659, allocations: 15.98 kB / 0.5715 GB, free: 5.332 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.666, allocations: 15.42 kB / 0.5715 GB, free: 5.316 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.666, allocations: 0 / 0.5715 GB, free: 5.316 MB / 378.7 MB Notification: Performance of Templates: time 0.006151/0.6721, allocations: 1.387 MB / 0.5728 GB, free: 3.941 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test25_usertab/Test25_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches