Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test8") translateModel(ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 184.6 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.668/1.668, 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.0009107/0.0009106, 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.2558/0.2558, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003225, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1406, allocations: 58.86 MB / 490.2 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4713/0.6119, allocations: 86.45 MB / 0.5632 GB, free: 13.31 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.6122, allocations: 76.64 kB / 0.5633 GB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009732/0.6219, allocations: 3.581 MB / 0.5668 GB, free: 10.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.622, allocations: 3.938 kB / 0.5668 GB, free: 10.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.622, allocations: 0 / 0.5668 GB, free: 10.22 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.000457/0.6224, allocations: 386.8 kB / 0.5671 GB, free: 9.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.6225, allocations: 8.031 kB / 0.5671 GB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.6225, allocations: 7.906 kB / 0.5671 GB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.6228, allocations: 201.4 kB / 0.5673 GB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.6228, allocations: 7.188 kB / 0.5673 GB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.6228, allocations: 4 kB / 0.5673 GB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.623, allocations: 45.62 kB / 0.5674 GB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.623, allocations: 3.938 kB / 0.5674 GB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.623, allocations: 3.438 kB / 0.5674 GB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.623, allocations: 0 / 0.5674 GB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.626e-05/0.6231, allocations: 31.91 kB / 0.5674 GB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.6236, allocations: 279.2 kB / 0.5677 GB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.6238, allocations: 49.44 kB / 0.5677 GB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.6238, allocations: 96 / 0.5677 GB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.6238, allocations: 46.48 kB / 0.5678 GB, free: 9.051 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.6238, allocations: 0 / 0.5678 GB, free: 9.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005656/0.6244, allocations: 163.3 kB / 0.5679 GB, free: 8.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.6245, allocations: 59.22 kB / 0.568 GB, free: 8.836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.6246, allocations: 139.8 kB / 0.5681 GB, free: 8.699 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.6246, allocations: 25.7 kB / 0.5682 GB, free: 8.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.6247, allocations: 98.42 kB / 0.5682 GB, free: 8.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.6247, allocations: 15.75 kB / 0.5683 GB, free: 8.562 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.6247, allocations: 0 / 0.5683 GB, free: 8.562 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6249, allocations: 318.8 kB / 0.5686 GB, free: 8.246 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.227e-05/0.625, allocations: 27.8 kB / 0.5686 GB, free: 8.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.287e-05/0.625, allocations: 30.59 kB / 0.5686 GB, free: 8.199 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.381e-05/0.6251, allocations: 27.42 kB / 0.5686 GB, free: 8.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.6251, allocations: 0 / 0.5686 GB, free: 8.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001841/0.6253, allocations: 96.27 kB / 0.5687 GB, free: 8.086 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.6253, allocations: 7.938 kB / 0.5687 GB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6253, allocations: 0 / 0.5687 GB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.6254, allocations: 0 / 0.5687 GB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/0.6254, allocations: 19.55 kB / 0.5688 GB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.6254, allocations: 0 / 0.5688 GB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.6255, allocations: 12.23 kB / 0.5688 GB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.6255, allocations: 7.953 kB / 0.5688 GB, free: 8.043 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 0.0001056/0.6256, allocations: 117.2 kB / 0.5689 GB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.6257, allocations: 11.91 kB / 0.5689 GB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.6259, allocations: 111.8 kB / 0.569 GB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6259, allocations: 3.938 kB / 0.569 GB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6259, allocations: 0 / 0.569 GB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.626, allocations: 0 / 0.569 GB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.6264, allocations: 363.5 kB / 0.5694 GB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6264, allocations: 4 kB / 0.5694 GB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.6265, allocations: 15.98 kB / 0.5694 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.6265, allocations: 0 / 0.5694 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.6265, allocations: 0 / 0.5694 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.6265, allocations: 3.984 kB / 0.5694 GB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6265, allocations: 0 / 0.5694 GB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.6268, allocations: 205.3 kB / 0.5696 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.6268, allocations: 85.02 kB / 0.5697 GB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.6268, allocations: 0 / 0.5697 GB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-05/0.6269, allocations: 11.42 kB / 0.5697 GB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.627, allocations: 4 kB / 0.5697 GB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.627, allocations: 0 / 0.5697 GB, free: 7.086 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.769e-05/0.6271, allocations: 129.2 kB / 0.5698 GB, free: 6.973 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6271, allocations: 3.938 kB / 0.5698 GB, free: 6.969 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.6273, allocations: 15.12 kB / 0.5698 GB, free: 6.957 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.0008779/0.6282, allocations: 410.2 kB / 0.5702 GB, free: 6.609 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.6284, allocations: 62.84 kB / 0.5703 GB, free: 6.559 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6284, allocations: 0 / 0.5703 GB, free: 6.559 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.233e-05/0.6285, allocations: 31.91 kB / 0.5703 GB, free: 6.531 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.6287, allocations: 18.67 kB / 0.5703 GB, free: 6.516 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004156/0.6291, allocations: 191.4 kB / 0.5705 GB, free: 6.312 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.6294, allocations: 0.7004 MB / 0.5712 GB, free: 5.586 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.45e-05/0.6295, allocations: 16.17 kB / 0.5712 GB, free: 5.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.6296, allocations: 15.38 kB / 0.5712 GB, free: 5.555 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.6296, allocations: 3.938 kB / 0.5712 GB, free: 5.551 MB / 378.7 MB Notification: Performance of Templates: time 0.00348/0.6331, allocations: 1.062 MB / 0.5723 GB, free: 4.504 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches