Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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 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(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 114.6 kB / 16.42 MB, free: 6.504 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.001176/0.001176, allocations: 181.5 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06757/0.06757, allocations: 14.17 MB / 284.8 MB, free: 13.86 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 72.3 kB / 397.2 MB, free: 43.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08426/0.08633, allocations: 50.13 MB / 447.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001865/0.08824, allocations: 0.6785 MB / 448 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000229/0.08848, allocations: 60.14 kB / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.924e-05/0.08853, allocations: 0 / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.08857, allocations: 7.922 kB / 448 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.898e-05/0.08867, allocations: 0 / 448 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.08882, allocations: 23.92 kB / 448.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.377e-05/0.08892, allocations: 31.91 kB / 448.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.461e-05/0.08902, allocations: 8 kB / 448.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.164e-05/0.08906, allocations: 11.98 kB / 448.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.196e-05/0.08912, allocations: 11.92 kB / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.08915, allocations: 7.938 kB / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.139e-05/0.08916, allocations: 4 kB / 448.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.08919, allocations: 4 kB / 448.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.08923, allocations: 11.92 kB / 448.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.268e-05/0.08932, allocations: 23.84 kB / 448.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.08934, allocations: 4 kB / 448.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.08935, allocations: 0 / 448.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.08936, allocations: 0 / 448.2 MB, free: 12.79 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005036/0.08987, allocations: 339.5 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.08991, allocations: 8.031 kB / 448.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.08995, allocations: 4.938 kB / 448.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.09018, allocations: 164.4 kB / 448.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.455e-06/0.09019, allocations: 4.375 kB / 448.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.09022, allocations: 8.375 kB / 448.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.09043, allocations: 76.75 kB / 448.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.09045, allocations: 192 / 448.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.09047, allocations: 3.938 kB / 448.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.09048, allocations: 0 / 448.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.09067, allocations: 35.95 kB / 448.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.09112, allocations: 269.8 kB / 449.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.09132, allocations: 77.16 kB / 449.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.09144, allocations: 29.77 kB / 449.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.09147, allocations: 4 kB / 449.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.0915, allocations: 38.5 kB / 449.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 3.096e-06/0.09151, allocations: 3.984 kB / 449.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003816/0.0919, allocations: 93.53 kB / 449.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.09199, allocations: 111 kB / 449.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.09208, allocations: 97.86 kB / 449.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.09211, allocations: 29.7 kB / 449.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.09217, allocations: 84.12 kB / 449.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.09219, allocations: 3.953 kB / 449.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.09224, allocations: 17.72 kB / 449.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.09239, allocations: 310.8 kB / 450 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.0925, allocations: 32.83 kB / 450 MB, free: 10.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.614e-05/0.0926, allocations: 34.56 kB / 450 MB, free: 10.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.09279, allocations: 53.66 kB / 450.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.0928, allocations: 0 / 450.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002168/0.09302, allocations: 73.59 kB / 450.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.09304, allocations: 7.938 kB / 450.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.09305, allocations: 0 / 450.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.09307, allocations: 0 / 450.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.869e-05/0.09317, allocations: 19.92 kB / 450.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.09319, allocations: 64 / 450.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.018e-05/0.09327, allocations: 23.88 kB / 450.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.09328, allocations: 0 / 450.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.16e-05/0.09338, allocations: 84.14 kB / 450.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.782e-05/0.09345, allocations: 30.56 kB / 450.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.56e-05/0.09354, allocations: 29.75 kB / 450.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.896e-06/0.09355, allocations: 3.984 kB / 450.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001285/0.09368, allocations: 57.56 kB / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/0.0937, allocations: 4 kB / 450.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-06/0.0937, allocations: 0 / 450.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-06/0.09371, allocations: 0 / 450.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.89e-05/0.09375, allocations: 8 kB / 450.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-06/0.09376, allocations: 0 / 450.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.264e-05/0.09381, allocations: 8.047 kB / 450.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-06/0.09382, allocations: 4 kB / 450.4 MB, free: 10.24 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.0001187/0.09394, allocations: 188.1 kB / 450.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.09397, allocations: 0 / 450.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.094, allocations: 11.08 kB / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.09401, allocations: 0 / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.09402, allocations: 4 kB / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.09402, allocations: 0 / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.09422, allocations: 161.6 kB / 450.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.09423, allocations: 0 / 450.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.46e-05/0.0943, allocations: 19.98 kB / 450.8 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.09431, allocations: 4 kB / 450.8 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.09433, allocations: 0 / 450.8 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.09433, allocations: 3.938 kB / 450.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.09434, allocations: 0 / 450.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007616/0.09511, allocations: 0.9696 MB / 451.8 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.09517, allocations: 77.11 kB / 451.8 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.09519, allocations: 4 kB / 451.8 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.784e-05/0.09529, allocations: 15.86 kB / 451.9 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.09534, allocations: 8 kB / 451.9 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.09535, allocations: 0 / 451.9 MB, free: 8.645 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.709e-05/0.0954, allocations: 83.7 kB / 452 MB, free: 8.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09541, allocations: 0 / 452 MB, free: 8.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004889/0.0959, allocations: 7.984 kB / 452 MB, free: 8.555 MB / 334.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 (3): * Single equations (assignments): 3 * 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.000107/0.09602, allocations: 99.19 kB / 452.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002875/0.09631, allocations: 56.09 kB / 452.1 MB, free: 8.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.09632, allocations: 3.938 kB / 452.1 MB, free: 8.387 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.753e-05/0.09642, allocations: 23.98 kB / 452.1 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.09664, allocations: 2.344 kB / 452.1 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.09708, allocations: 232.8 kB / 452.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.09743, allocations: 0.6768 MB / 453 MB, free: 7.391 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.405e-05/0.09748, allocations: 8 kB / 453.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.09752, allocations: 11.44 kB / 453.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09753, allocations: 0 / 453.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of Templates: time 0.002821/0.1004, allocations: 0.639 MB / 453.7 MB, free: 6.734 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches