Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 110 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 186.3 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2283/0.2283, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 59.91 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3592, allocations: 60.82 MB / 0.5196 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002959/0.3622, allocations: 1.62 MB / 0.5212 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007846/0.363, allocations: 424.5 kB / 0.5216 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.146e-05/0.3631, allocations: 5.094 kB / 0.5216 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.3634, allocations: 33.61 kB / 0.5216 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.3636, allocations: 47.17 kB / 0.5217 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.3639, allocations: 110.5 kB / 0.5218 GB, free: 2.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.3641, allocations: 85.5 kB / 0.5218 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.3643, allocations: 28.41 kB / 0.5219 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.206e-05/0.3643, allocations: 28.05 kB / 0.5219 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.3644, allocations: 40.16 kB / 0.5219 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.3645, allocations: 4.156 kB / 0.5219 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.3646, allocations: 44.94 kB / 0.522 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.174e-05/0.3646, allocations: 18.11 kB / 0.522 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.3647, allocations: 35.66 kB / 0.522 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.3649, allocations: 112.6 kB / 0.5221 GB, free: 2.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3649, allocations: 1.125 kB / 0.5221 GB, free: 2.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3649, allocations: 4 kB / 0.5222 GB, free: 2.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.365, allocations: 0 / 0.5222 GB, free: 2.184 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003991/0.3654, allocations: 400.9 kB / 0.5225 GB, free: 1.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3654, allocations: 9.062 kB / 0.5225 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.3655, allocations: 13.89 kB / 0.5226 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.3656, allocations: 189.4 kB / 0.5227 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3656, allocations: 6.75 kB / 0.5227 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.3657, allocations: 9.438 kB / 0.5228 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.3659, allocations: 82.17 kB / 0.5228 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3659, allocations: 1.375 kB / 0.5228 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.3659, allocations: 0 / 0.5228 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.3659, allocations: 2.094 kB / 0.5228 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.366, allocations: 45.61 kB / 0.5229 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.3665, allocations: 332.5 kB / 0.5232 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.3667, allocations: 70.58 kB / 0.5233 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.069e-05/0.3667, allocations: 23.8 kB / 0.5233 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.3668, allocations: 5.844 kB / 0.5233 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.3668, allocations: 35.59 kB / 0.5233 GB, free: 1.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.3668, allocations: 0 / 0.5233 GB, free: 1.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001097/0.3679, allocations: 324.9 kB / 0.5236 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.3679, allocations: 53.36 kB / 0.5237 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.3681, allocations: 149.1 kB / 0.5238 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.3681, allocations: 29.7 kB / 0.5239 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.3682, allocations: 103.7 kB / 0.524 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.3682, allocations: 44.41 kB / 0.524 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.3683, allocations: 32.83 kB / 0.524 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.3683, allocations: 321 kB / 0.5243 GB, free: 292 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.3684, allocations: 48.59 kB / 0.5244 GB, free: 276 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-05/0.3685, allocations: 44.56 kB / 0.5244 GB, free: 264 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.3688, allocations: 108.8 kB / 0.5245 GB, free: 220 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3688, allocations: 0.6562 kB / 0.5245 GB, free: 220 kB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002917/0.3691, allocations: 156.6 kB / 0.5247 GB, free: 140 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.3691, allocations: 7.938 kB / 0.5247 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3691, allocations: 3.938 kB / 0.5247 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.3691, allocations: 1 kB / 0.5247 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.3693, allocations: 26.17 kB / 0.5247 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3693, allocations: 1.125 kB / 0.5247 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.69e-05/0.3694, allocations: 13.31 kB / 0.5247 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.3694, allocations: 5.062 kB / 0.5247 GB, free: 128 kB / 382.1 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.3695, allocations: 131.8 kB / 0.5249 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.3695, allocations: 7.594 kB / 0.5249 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003889/0.3699, allocations: 181.7 kB / 0.525 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3699, allocations: 1.969 kB / 0.525 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.3699, allocations: 1.188 kB / 0.525 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.37, allocations: 0.6094 kB / 0.525 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007206/0.3707, allocations: 497.7 kB / 0.5255 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3707, allocations: 0 / 0.5255 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.598e-05/0.3708, allocations: 25.12 kB / 0.5255 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3708, allocations: 1.594 kB / 0.5255 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.3708, allocations: 9.828 kB / 0.5256 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.3708, allocations: 5.844 kB / 0.5256 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3708, allocations: 1.344 kB / 0.5256 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.3712, allocations: 260.7 kB / 0.5258 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.3712, allocations: 85.52 kB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.3712, allocations: 2.344 kB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.3713, allocations: 11.98 kB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.3714, allocations: 5.562 kB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.3714, allocations: 3.266 kB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.54e-05/0.3715, allocations: 128.9 kB / 0.526 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3715, allocations: 0 / 0.526 GB, free: 15.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.3718, allocations: 23.38 kB / 0.5261 GB, free: 15.11 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001025/0.3728, allocations: 459.4 kB / 0.5265 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003116/0.3731, allocations: 118.4 kB / 0.5266 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3731, allocations: 0 / 0.5266 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.3733, allocations: 60.52 kB / 0.5267 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.3736, allocations: 19.41 kB / 0.5267 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.3742, allocations: 280.6 kB / 0.5269 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.3745, allocations: 0.7075 MB / 0.5276 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.852e-05/0.3746, allocations: 23.17 kB / 0.5277 GB, free: 13.92 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3746, allocations: 0 / 0.5277 GB, free: 13.92 MB / 398.1 MB Notification: Performance of Templates: time 0.004093/0.3787, allocations: 1.979 MB / 0.5296 GB, free: 13.1 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches