Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007971/0.0007971, allocations: 183.3 kB / 18.09 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.209/1.209, allocations: 223.3 MB / 242.1 MB, free: 11.73 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007014/0.0007014, allocations: 93.91 kB / 293.3 MB, free: 10.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2682/0.2682, allocations: 44.15 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003182, allocations: 12 kB / 461.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2706, allocations: 61.88 MB / 0.5107 GB, free: 38.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09828/0.369, allocations: 88.37 MB / 0.597 GB, free: 6.719 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.3692, allocations: 83.94 kB / 0.5971 GB, free: 6.641 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01047/0.3797, allocations: 4.469 MB / 0.6015 GB, free: 2.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3798, allocations: 0 / 0.6015 GB, free: 2.172 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.3798, allocations: 8 kB / 0.6015 GB, free: 2.164 MB / 410.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.0003642/0.3802, allocations: 387.2 kB / 0.6018 GB, free: 1.734 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.3802, allocations: 8.031 kB / 0.6019 GB, free: 1.727 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.3802, allocations: 8.844 kB / 0.6019 GB, free: 1.719 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.3804, allocations: 188.2 kB / 0.602 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.3804, allocations: 384 / 0.602 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.3805, allocations: 4.375 kB / 0.602 GB, free: 1.492 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.3806, allocations: 71.95 kB / 0.6021 GB, free: 1.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.3806, allocations: 4.125 kB / 0.6021 GB, free: 1.406 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3807, allocations: 3.938 kB / 0.6021 GB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3807, allocations: 0 / 0.6021 GB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.704e-05/0.3808, allocations: 27.92 kB / 0.6021 GB, free: 1.375 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.3811, allocations: 284.9 kB / 0.6024 GB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.3813, allocations: 54.44 kB / 0.6025 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.3814, allocations: 20.94 kB / 0.6025 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.3814, allocations: 0 / 0.6025 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.3814, allocations: 34.56 kB / 0.6025 GB, free: 0.918 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3815, allocations: 0 / 0.6025 GB, free: 0.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000529/0.382, allocations: 165.4 kB / 0.6027 GB, free: 0.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.382, allocations: 77.11 kB / 0.6028 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.3822, allocations: 135.1 kB / 0.6029 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3822, allocations: 29.7 kB / 0.6029 GB, free: 492 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.3822, allocations: 92.12 kB / 0.603 GB, free: 396 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.3823, allocations: 23.66 kB / 0.603 GB, free: 372 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.3823, allocations: 0 / 0.603 GB, free: 372 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.3824, allocations: 326.7 kB / 0.6033 GB, free: 36 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.736e-05/0.3825, allocations: 27.98 kB / 0.6034 GB, free: 8 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.449e-05/0.3826, allocations: 37.77 kB / 0.6034 GB, free: 15.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.3827, allocations: 64.86 kB / 0.6035 GB, free: 15.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3827, allocations: 0 / 0.6035 GB, free: 15.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001789/0.3829, allocations: 93.59 kB / 0.6035 GB, free: 15.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3829, allocations: 5.562 kB / 0.6036 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3829, allocations: 0 / 0.6036 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.3829, allocations: 8 kB / 0.6036 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.383, allocations: 12.27 kB / 0.6036 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.383, allocations: 4 kB / 0.6036 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.935e-05/0.3831, allocations: 4 kB / 0.6036 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.3831, allocations: 0 / 0.6036 GB, free: 15.77 MB / 426.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.168e-05/0.3832, allocations: 122.3 kB / 0.6037 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.3832, allocations: 7.906 kB / 0.6037 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.3834, allocations: 113.5 kB / 0.6038 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3834, allocations: 4 kB / 0.6038 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3835, allocations: 0 / 0.6038 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3835, allocations: 0 / 0.6038 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.3839, allocations: 362.5 kB / 0.6042 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3839, allocations: 4 kB / 0.6042 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.103e-05/0.3839, allocations: 15.88 kB / 0.6042 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.384, allocations: 4 kB / 0.6042 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.384, allocations: 320 / 0.6042 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.384, allocations: 0 / 0.6042 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.384, allocations: 4 kB / 0.6042 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.3842, allocations: 195.4 kB / 0.6044 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.3842, allocations: 89 kB / 0.6045 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.3843, allocations: 0 / 0.6045 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.711e-05/0.3843, allocations: 12 kB / 0.6045 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.3844, allocations: 11.92 kB / 0.6045 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3844, allocations: 4 kB / 0.6045 GB, free: 14.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.472e-05/0.3845, allocations: 101.3 kB / 0.6046 GB, free: 14.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3845, allocations: 0 / 0.6046 GB, free: 14.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.3847, allocations: 31.98 kB / 0.6046 GB, free: 14.61 MB / 426.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.0008704/0.3856, allocations: 457 kB / 0.605 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.3858, allocations: 51.97 kB / 0.6051 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3858, allocations: 0 / 0.6051 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.542e-05/0.3859, allocations: 39.98 kB / 0.6051 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.3862, allocations: 15.91 kB / 0.6052 GB, free: 14.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.3865, allocations: 172.7 kB / 0.6053 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.3867, allocations: 0.6926 MB / 0.606 GB, free: 13.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.481e-05/0.3868, allocations: 11.98 kB / 0.606 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.3868, allocations: 15.42 kB / 0.606 GB, free: 13.28 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3869, allocations: 0 / 0.606 GB, free: 13.28 MB / 426.7 MB Notification: Performance of Templates: time 0.003287/0.3901, allocations: 1.292 MB / 0.6073 GB, free: 12 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches