Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.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.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001615/0.001615, allocations: 182.4 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.922/1.922, 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.0008574/0.0008574, 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.2568/0.2568, allocations: 43.55 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004014, allocations: 15.98 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1544, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4737/0.6281, allocations: 86.35 MB / 0.5631 GB, free: 13.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.6284, allocations: 73.09 kB / 0.5631 GB, free: 13.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009248/0.6377, allocations: 3.568 MB / 0.5666 GB, free: 10.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6377, allocations: 0 / 0.5666 GB, free: 10.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.6377, allocations: 0 / 0.5666 GB, free: 10.34 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.0004564/0.6382, allocations: 393.6 kB / 0.567 GB, free: 9.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.6382, allocations: 16 kB / 0.567 GB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.6383, allocations: 7.906 kB / 0.567 GB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.6385, allocations: 197.8 kB / 0.5672 GB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.6386, allocations: 0 / 0.5672 GB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.6386, allocations: 0 / 0.5672 GB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.6387, allocations: 48.56 kB / 0.5673 GB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.6388, allocations: 4 kB / 0.5673 GB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.6388, allocations: 4 kB / 0.5673 GB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.6388, allocations: 0 / 0.5673 GB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.121e-05/0.6389, allocations: 27.17 kB / 0.5673 GB, free: 9.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.6393, allocations: 282.5 kB / 0.5676 GB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.6395, allocations: 45.98 kB / 0.5676 GB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.6395, allocations: 4 kB / 0.5676 GB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.6396, allocations: 42.27 kB / 0.5677 GB, free: 9.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.6396, allocations: 0 / 0.5677 GB, free: 9.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005608/0.6401, allocations: 151.3 kB / 0.5678 GB, free: 9.039 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.6402, allocations: 55.41 kB / 0.5679 GB, free: 8.973 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.6403, allocations: 139.1 kB / 0.568 GB, free: 8.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.6403, allocations: 25.7 kB / 0.568 GB, free: 8.809 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.6404, allocations: 102.2 kB / 0.5681 GB, free: 8.715 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.6404, allocations: 19.73 kB / 0.5681 GB, free: 8.695 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.6404, allocations: 0 / 0.5681 GB, free: 8.695 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.6406, allocations: 318.3 kB / 0.5684 GB, free: 8.379 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.535e-05/0.6406, allocations: 23.73 kB / 0.5685 GB, free: 8.359 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.643e-05/0.6407, allocations: 23.86 kB / 0.5685 GB, free: 8.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.518e-05/0.6408, allocations: 30.98 kB / 0.5685 GB, free: 8.316 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.6408, allocations: 0 / 0.5685 GB, free: 8.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001733/0.641, allocations: 88.56 kB / 0.5686 GB, free: 8.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.641, allocations: 4 kB / 0.5686 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.641, allocations: 4 kB / 0.5686 GB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.641, allocations: 0 / 0.5686 GB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/0.6411, allocations: 15.94 kB / 0.5686 GB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6411, allocations: 0 / 0.5686 GB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.224e-05/0.6411, allocations: 11.98 kB / 0.5686 GB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.6412, allocations: 7.391 kB / 0.5686 GB, free: 8.191 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 (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 8.437e-05/0.6413, allocations: 113.2 kB / 0.5687 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.6413, allocations: 11.91 kB / 0.5688 GB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.6415, allocations: 95.78 kB / 0.5688 GB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.6415, allocations: 3.984 kB / 0.5688 GB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6416, allocations: 0 / 0.5688 GB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.6416, allocations: 0 / 0.5688 GB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.642, allocations: 361.3 kB / 0.5692 GB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.642, allocations: 384 / 0.5692 GB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.546e-05/0.6421, allocations: 15.98 kB / 0.5692 GB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6421, allocations: 0 / 0.5692 GB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.6421, allocations: 4 kB / 0.5692 GB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6421, allocations: 0 / 0.5692 GB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.6421, allocations: 4 kB / 0.5692 GB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.6423, allocations: 196.7 kB / 0.5694 GB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.557e-05/0.6424, allocations: 85.02 kB / 0.5695 GB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.6425, allocations: 0 / 0.5695 GB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.537e-05/0.6425, allocations: 11.98 kB / 0.5695 GB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.6426, allocations: 7.375 kB / 0.5695 GB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.6426, allocations: 0 / 0.5695 GB, free: 7.254 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.184e-05/0.6427, allocations: 121.6 kB / 0.5696 GB, free: 7.145 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6427, allocations: 0 / 0.5696 GB, free: 7.145 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002214/0.6429, allocations: 15.69 kB / 0.5696 GB, free: 7.133 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 (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.0009054/0.6438, allocations: 416 kB / 0.57 GB, free: 6.777 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.644, allocations: 54.66 kB / 0.5701 GB, free: 6.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.644, allocations: 0 / 0.5701 GB, free: 6.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.894e-05/0.6441, allocations: 23.61 kB / 0.5701 GB, free: 6.711 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.6443, allocations: 19.61 kB / 0.5701 GB, free: 6.695 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.6447, allocations: 186.1 kB / 0.5703 GB, free: 6.496 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.645, allocations: 0.6965 MB / 0.571 GB, free: 5.773 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.495e-05/0.645, allocations: 20.16 kB / 0.571 GB, free: 5.754 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.6451, allocations: 11.44 kB / 0.571 GB, free: 5.742 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.6451, allocations: 0 / 0.571 GB, free: 5.742 MB / 378.7 MB Notification: Performance of Templates: time 0.003247/0.6483, allocations: 1.046 MB / 0.572 GB, free: 4.711 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches